I’ve posted this before but I’ll post it again - my father told me years ago when I first started going to pubs and clubs ‘never tell someone to **** off unless you’re prepared to take your hands out of your pockets and make them’
that was your failing here. I imagine a touch of hubris was at play - a dude starts swearing and mouthing off at you and there’s people watching so you think you’ve got to give it back. unfortunately it back fired somewhat and the other person was prepared, at least on the surface, to make it physical.
lesson learnt, don’t be aggressive unless you’re prepared to get physical. There’s no shame in walking away from a fight, none at all, despite what some might tell you. However, don’t go provoking an already ‘hot’ verbal exchange into a physical one if backing up your mouth isn’t something you want/can do.
I assume you’ll avoid the place for a few days or so. If this other chap is sufficiently enraged with, he may well revisit their with the express intention of meeting you again. How will you handle that should it occur?