Yep.
If cops roll up, you better not try and flee the scene. It’s been standard procedure for years for a cop to claim the fleeing vehicle posed a threat to their safety which prompted them to open fire.
And courts allow this.
Yeah, if there's gunfire, don't try to save your life by running away. You might scare a police officer who will shoot you while he runs for cover and wets his pants.
Stay there and die like a man. The cops want to go home safely.