Open the Settings on your phone, click on General, and then tap on CarPlay. After entering the page, turn off Bluetooth. Once Bluetooth is turned off, you can disconnect the CarPlay in the car.