I managed to teleport a Rampart of Nacre in front of the exit with Places on a Map, Pawns on a Board, ran out of uses of that spell, and essentially imprisoned myself.
I have noticed that it's possible to do that - you're pretty much forced to reset the game with Z/X after that. I think I'll add a check to auto-clear the way if a blockage is detected.