All night drivers face at least a few generally not good pax* who scares you in some unsafe or unsavory way. Here is a trick I learned that I have yet to use but it would work and I respect it as a trick so I am sharing.
Stop your car, make the rider get out. Drive 500 feet forward…or far enough so they have to walk far to get to you. Wait till they hail another Uber. It will be you. Accept. Text them and let them know it is still you. Tell them to either cancel the trip or respect your safety. If they cancel you can’t get rated by them and you get the $5 for their cancellation. If they comply you can either drive back or let them come to you and sober up a little on the way. Repeat until compliant and expect a bad rating – you were gonna get one anyway.
* Pax is the way Uber drivers refer to passengers.