He should have done like Uncle Ned in South Park, he should have just yelled, “It’s comin’ right for us!!!” Then he would have been safe.
Hindsight is 20-20, but in a similar situation, just keep yelling “Put the gun down or I’ll Shoot” in between each round that you fire.