Although I do not recommend it, if you ever find yourself in a situation where you're wearing your heels and you have to drive the car, here are some tips on how to stay safe driving your car in heels. Why it's not safe to drive in your heels is that they actually get in the way and slow your reaction time if you need to suddenly brake the car.
I recommend bringing an extra pair of shoes or ballet flats that you can switch out of those heels. I do not recommend bringing flip-flops as those can be just as difficult to drive in. If you do not have any extra shoes, I recommend wearing your heels, not going barefoot. But being very careful when you press on the gas and press on the brake.