I was driving up to Yorkshire in my Funky Cat and my iPhone was being wirelessly charged, and I was connected wireless to the car for CarPlay. I was using CarPlay for Waze navigation and for listening to a podcast.
However after a couple of hours, the iPhone shut itself down as it was overheating. I turned off the wireless charging and let the phone cool down.
Once it was cooler, it was all okay.