Hard to say, since I don't really know any distances involved and that would determine what makes the best idea (if you screwed up so badly that you're surrounded and in grabbing distance all around, making a play for your CCW might not be the smartest thing).
If he's at the head of a mini-mob, all to my front, my hand goes to my pistol. If he's already in charging distance and/or keeps coming, he gets a muzzle indexed at the C of his M. Any further aggression results in my taking legal action to end the assault on my person.
If I screwed up and he's already in my face and/or I'm in a place that doesn't let me carry, I crowd the bat arm so he can't get a full swing and he gets a good solid heel stomp to his groin, crest of his hip, side of his knee or shin, followed by as hard a straight-up chin jab as I can generate (which is pretty hard). Then I run like hell before I get mobbed unless it's only one or two others with him, in which case I go to town with the bat before anyone can produce a weapon. *Then* I run like hell to a safe place and, depending on the neighborhood and/or my residency and/or my status in the community, I call the cops and report the attack on my person.
Or I just shriek like a 6-year-old girl, wet my pants and pray to Jeebus for salvation. [:D]