Emergency over, he was able to get himself out I'm like breathing in relief cause I couldn't get to him and didn't know if he'd just up and die of stress or something O.O
Hedgehogs can certainly get themselves wedged into small areas quite tightly. Often taking a few deep breaths, and letting them calm themselves down to relax their quills and they will be able to come on out.
Now that the emergency is over, time to block off that entrance when he is out playing.