The player is required to wait several seconds before logging out or quitting if not in an inn, major city or other resting area -- this method fires if the player attempts to log out or quit, starting the countdown, and then performs an action which aborts it.