Stuck in Infernal Base

All my pokemon got KO’d so I respawned in my jail cell. However, I’m actually stuck in the wall and I can’t do anything to get out. Any way I can get out?

same thing happened to me I tried fly f12 I tried to replace with a backup but I clicked v to much I think or I have no clue how to replace