A driver in a Prius or electric car could drive off without any warning, since no engine has to be running. Perhaps it is protocol to have the driver remove keys from the ignition and the driver refused to do it?
I doubt the officer was hoping for a chance to shoot someone just for the heck of it.
Bottom line is the cop put himself into harm’s way for no constructive reason.