"I think shooting him is not quite "doing her job"
He's been labeled as hostile, had a bloody penguin on the ground, and said "I don't think so" when she ordered him to put his hands up. That's resisting arrest, and since this is Batman who has all these tricks up his sleeve for getting away, she did the only thing she could.