Once the robber was out of sight of any cameras or people with phones, I would, of course, take the money off of him and keep it for myself. I wouldn't be worried about a gun because I'd jump the guy by surprise and knock him out before he could even draw.
C'est la fucking vie. Turnabout is fair play.