I take him out of the tank for an hour or so every day and he didnt behave like this then. I made 6 or 7 home made hides and I would place them on the bed. I made a barrier out of the blankets so he couldn't easily fall off and I let him explore. My wife said I lost my mind lol but even after doing this, he never tried to escape. This is my 2nd ever ball python and my first one I had was over 15 years ago. Any advice is appreciated.