Sometimes tmux needs a clean start, for instance after an upgrade, when the running server is older than the new client. One command ends all of it.
tmux kill-server
This stops the tmux server. Every session, window and pane is closed, and the programs in them are ended. The next tmux command starts a fresh server that reads ~/.tmux.conf again from scratch.
There is no confirmation. A long download, an editor with unsaved work, a job you started in a detached session last week: all gone. I’d run tmux ls first to see what is still there.
If you use more than one server, it only kills the one you point at. With -L you choose the socket name:
tmux -L scratch kill-server
That leaves your normal server alone. To get rid of a single session there is tmux kill-session -t name, which is the safer habit.
When the server is already gone you get “no server running”, which is harmless.
Further reading: tmux manual page (OpenBSD)