Sounds like the beating victim did what you said someone should do, his mistake was he did not have a street sweeper in his hand..
He didn’t have a gun; apparently (if media reports are even halfway accurate for once) he had a kitchen knife in his hand when he shooed the kids away. He SHOULD have had a 12 gauge or better handy for the lynch mob’s arrival.