FM2 can get "stuck" when a frame is cranked only part way. If you are in the middle of a roll of film, you can finish advancing the frame by turning the screw on the bottom of the camera that is directly underneath the crank. ( the slot is the size of an American nickel ).
Possibly, something similar happened to you when you hit the end of the roll, and maybe the shutter is cocked. If you hold in the rewind button on the bottom of the camera, and then "finish" cranking with the film advance lever, I think the rewind button should pop back out. ( This is also how you can intentionally make a double exposure with an FM2... push in the rewind button and then "crank" one frame... then you can take your double exposure and the button pops back out. )
I'm not 100% sure this will solve your problem but it's worth a try.