You must fall from a room that contains a chasm in the depth above known as the collapsed floor room. The bone pile in there will contain a Scroll of Teleportation, so you can leave the room.
What do you think?