A stuck bullet isn't hard to get out of a handgun, as you found. They usually don't travel that far from the chamber, so a rod down the muzzle and a series of taps will drive it back out - I've done this many, many times as a range officer.Well I got it out, used a cleaning rod as suggested above. I'd say it took one or two decent whacks. Easier than I thought.
For those who've never had to do this, there's no need to attempt to drive it out with a single massive blow - just hold the barrel in your hand and keep tapping (about 20 lbs of force) the rod against something hard eg concrete floor. The bullet will eventually pop out.