Exactly. Never the cleverest tactic, you become a stationary target, you need to keep moving, don't get stuck in the middle of them, in any group of 3 or 4 there will always be one or two that are gamer and one or two lacking the bottle who will hold back and move in when things are on top so be more aggresive to the aggressors. it's important to make sure that offensive strike aim at vulnerable areas, groin, eyes, throat, 3-4 attack in these areas then move away and scan for any further assailants. Once a couple have taken a beating the other ones won't fancy it much. And of course the obvious tactic of fighting at range, kicks from a distance and punches, elbows close up. My personal favourite distance move is a stomp kick to the groin, a forearm/elbiw smash to the side of head then grabbing them by the shirt, turning them as a human shield against anyone else fancying a go and driving a couple of knee shots into the boll*cks.
If you're reading this I hope you make a swift recovery amd these tips help you for future incidents and recognise where you went wrong on this occasion.