It happens, if you can't get it to come free by pulling on the shifter, remove the access panel over the shifter, remove the shift handle from the top of the trans and use leverage to free up the linkage. Use a flashlight to see if the linkage bars are all lined up as they would be in neutral, if not manually move the odd one to meet the others.
From what I can figure the little bearings that move back and forth when the gears are shifted, and prevent the wrong one from engaging while you are engaging another can sometimes get stuck half way and freeze up the linkage. Many people can free it up by wiggling and pulling on the shifter, but there are times when it's really stuck and some better leverage is needed.
Probably worn out shifter bushings
check your shifter bushings, next would be inside the trans at the shift collar.
It may just be a screw came loose underneath your gear shifter. That is what happened to me. Just slide the stuff up to the top of your gear shifter and look underneath. If one of the bolts is udone, just simple put it back on.
My jeep wrangler keeps loking in gears
that new I would have to say it could only be a stiff shifter boot.
Bolted to the floor in front of the shifter.
more specific please. shifter handles should just unscrew.
Jeep Wrangler only,
80w90
remove access plate on floor around shifter, 4 bolts hold the shifter onto the trans.
it is probably that your shift lever bushings have worn out, but check the rubber seals and carpeting, sometimes they put pressure against the shifter making it pop out of gear.
3.07 or 3.73 to 1