That's right. Punch it! They'll get out of the way. Or not.
If you’re surrounded with people jumping on your car, trying to break in and throwing items, I would posit that punching it would clearly be self-defense.