How to close a window in tmux
Force-close the current window (confirms first):
keysprefix + &
Usually you don't need it
Exiting the last shell in a window (exit / Ctrl-d) closes the window cleanly. prefix & is the sledgehammer for stuck processes. kill-window -a kills every window except the current one — great for cleaning up a messy session.
Related
Verified against tmux 3.6 · updated July 2026 · back to the full cheat sheet