I think they would rather have seen you run the light than engage in combat.
Getting out while someone is beating on your window would only put you in grave danger. It would be justified if you shot them, so long as you were trapped and could not get away.