How did the OP know the man was the owner of the car and not just some intimidating asshole who saw an opportunity to scare a lone woman?
If he even was a real policeman then on behalf of his profession, he needs to recognise and understand why trust has so completely broken down between women and the police, that OP feels safer committing an illegal act than complying with the law. Sarah Everard is etched on all our consciousnesses forever.
I've name changed for this because I'm a magistrate and this thread reminded me of a case I once sat on. A woman was charged with drink driving and failure to provide a breath specimen. Sounds bad, right?
Facts of the case were that she had driven her car to the pub intending not to drink but ended up drinking enough alcohol that she knew she would have been over the limit. During the course of the evening she had an argument with one of her party, stormed out of the pub and went and sat in her car, in the driver's seat, with the heater on (it was December and now dark) to call her partner to come and pick her up.
One of the men who had been in the pub at the same time as her saw her go out to the car park on her own and he followed her out there. As she was sitting in her car waiting for her partner, he went up to her car, opened the door and demanded she get out.
Terrifying right? So she drove off out of the car park and round the corner to a more well-lit and busier road.
The man was an off-duty police officer. He followed her outside suspecting that she was going to drink drive. Since sitting in the drivers seat of a car when over the limit is enough for an arrest, he took it upon himself to go over and scare the wits out of her by shouting at her to get out of the car. He claims he identified himself as a police officer but the woman was scared and didn't believe him and just wanted to get away. As soon as she drove off, he called his mates and they went and found her and nicked her.
Because it was a statutory offence we had to convict her. But as a bench of all woman that day, we all mentioned in our deliberation how much we sympathised with her and how terrifying that must have been for her, on her own, in a dark pub car park, with a male stranger opening her car door.
The fact that the policeman seemed oblivious (if we're being generous to him) as to how his actions would be experienced by a lone female, suggests that the police need to have a hard look at themselves.
As a woman, I would always prioritise getting to safety rather than get into any kind of altercation with an aggressive male.