# Sit
The #sit extended command makes your character sit down; this can have different effects (and messages) depending on what you're sitting on.
If you are hiding on the ceiling, sitting will cause you to stop hiding.
If there are items on the space, you will sit on those, or coil around gold if you are polymorphed into any kind of dragon.[1] This has no effect, so in order to sit on something else, you must remove items from the ground first. You also can't sit if you are riding, engulfed, held by or stuck to a monster, levitating, tethered to a buried iron ball or buried in the ground.
Sitting on a trap while you're trapped in it abuses wisdom, and for some traps, makes you stuck in it longer. Sitting in a spiked pit does 1 point of damage as well, with a 50% chance if you have half physical damage, and abuses strength. Sitting on a trap while not trapped in it may activate the trap.
Sitting in a pool may rust your body armor. It appears to be intended to rust boots as well, but does not due to a bug.[2]
Probably the most used feature is sitting on a throne. See that article for more information on what happens.
Sitting on a non-coaligned altar lowers your luck, and on a coaligned one lowers your wisdom.
If you are a female oviparous monster and there are no other objects on the square you are on, sitting will cause you to lay an egg. These eggs hatch into baby versions of your polymorphed form. (An exception are winged gargoyles—most eggs will hatch plain gargoyles.) Laying an egg consumes 80 nutrition, the same amount gained by eating an egg.

Strategy
NetHack has a bug that lets you #sit in places you cannot reach. For example, a gnome dies in a pit and you want to loot the gnome, but you escape when you try to enter the pit. Trying to #sit gives you a message about the gnome corpse being uncomfortable to sit on, and you won't fall in the pit. Since NetHack 3.6.0, you can enter the pit with the &gt; command.
You can repeatedly #sit on a magic trap to boost your charisma or uncurse items. Beware of other possible magic trap effects.
If you have just passed through a two-way magic portal, so that you are on a portal square when you arrive, you can #sit to activate the portal and return immediately. This can be useful if some particularly nasty monsters are around and you do not want to spend even two turns near them  (as will often happen in SLASH'EM's Chaotic Quest).  Be sure to engrave Elbereth on the portal (preferably permanently) to prevent monsters from following, unless you intend for things like wraiths to follow you.

References

↑ src/sit.c in NetHack 3.6.0, line 67

↑ src/sit.c in NetHack 3.6.0, line 129

This page may need to be updated for the current version of NetHack.
It may contain text specific to NetHack 3.6.0. Information on this page may be out of date.
Editors: After reviewing this page and making necessary edits, please change the {{nethack-360}} tag to the current version's tag or {{noversion}} as appropriate.