In UConnect5 it's pretty easy, go to device manager and you should be able to see Phone, Audio and Carplay/Android Auto. Simply disconnect them there. You can also press the gear and select the default, which includes charging only in case you connect it to the front.