I actually had no idea how to properly leave, and ended up teleporting around to escape.