Secret Base Bug- Game Broken?

I went into a secret base to revive fossils, but it doesn’t seem to let me leave. I entered the door and I am now stuck on the door tile. I left but my finger slipped and hit V, and the game saved within the glitched spot so I can’t leave. I got really far on this run and I don’t want to have to start over, is there any way to fix it? Or will I have to restart the game? I’ve tried escape ropes, and I was going to use the Memory feature and battle and let myself be blacked-out, but I haven’t upgraded the Pokegear.

*Should note that the difficulty is hard, and Randomizer/Bravery challenges are enabled.

Use the tablet to manually exit the base.

Ahh, that worked. Thank you!

Are you using the mini-evil base?