Dropping your carry piece in the bathroom hallway (and not even being aware your did) is...... not cool.
It's cool as hell to take the recovered pistol apart before returning it to the dufus Fudd.
Perhaps he knows how to put it back together (outside in the parking lot, not in the bar).

Lots of states, you can't have a carry piece in any bar, or you can but you cannot drink (at all).
A responsible bar owner would have been within his rights to call the police, and give it to them, point to the probable owner(s), and let them return it to the dufus (with or without a lecture, or field sobriety tests, or a breathalyzer, or even a criminal charge). Or tell him they're going to keep it and run it through the system, and he can come back and pick it up next week, if it clears.