I don't understand why you guys make it so complicated when you can always leave the room without suffering deaths. Just take your hands off the keyboard and press ESC + L. Solved case.

There are also times when you remain a while without dying, you can use the function to leave the room without waiting for 5 seconds to pass.