Folding bed my arse, I bet the hamster gave you a well deserved bite while you were trying to dig him out of your hind end...

Next time tie a string to his tail and you can pull him out easier.
btw, I've had a few nasty cuts in my time but that one takes the cake. Hope you give it a chance to heal up good.. take it easy Bartek...