are you sure that your snake is actually stuck? He looks like he has found a nice place to hide. He will probably hold onto it for dear life and will be a pain to get out. I would just leave him and see if he comes out in a day or so.