While on duty you might switch to creative or another gamemode using the Admin Teleport Compass. By default, leaving admin mode restores your saved state. On a survival server you may want a guarantee that you come back in plain survival, whatever happened earlier.
Using the force-survival exit
1. Finish your moderation task as usual.
2. Instead of the normal exit, type:
/adminmode off force-survival
3. Admin mode turns off and you are put in survival mode, even if you had a different gamemode before you entered.
4. Everything else is restored as normal:
- Your coordinates and view rotation
- Your health, hunger, and levels
- Your inventory, armor, and offhand item
- Your potion effects, with their remaining time
When to use it
- You entered admin mode from creative. A normal exit could put you back in creative. Forcing survival makes sure you return to fair play.
- You're not sure what mode you were in. If you went on duty in a hurry, this exit removes the guesswork.
- Staff rules. Some servers expect moderators to always be in survival when off duty. This one command keeps you within those rules.
If you just want your previous state back exactly as it was, use the plain /adminmode off instead.