I Can't move

Basically I was in the infernal base and my pokemon fainted and I respawned in the room you’re locked in when you captured when you enter the base but then I glitched into the wall and cant move every thing works fine but I cant move I tried f12 but I still cant move

Load a backup