Both commands disconnect you, so they look the same. They are not, and using the wrong one on a remote machine costs you a trip to its console.
tailscale down just disconnects. Your settings and the node key stay, and tailscale up reconnects without asking anything:
sudo tailscale down
sudo tailscale up
tailscale logout does more. The help text says it brings the network down and invalidates the current node key, so the next use requires authentication again:
sudo tailscale logout
down is what I’d use when you want Tailscale out of the way for a moment, for instance to test whether a problem comes from the VPN. logout is for when a device leaves for good, changes owner, or should move to another account.
Both have a risk on a server you reach through Tailscale: you lose the connection the moment you press Enter. The CLI can ask for confirmation when you are on a Tailscale SSH session, which is why the --accept-risk=lose-ssh option exists. Run it from a session that does not depend on the tailnet, or schedule a tailscale up afterwards.
After a logout the device still shows in the admin console until you remove it there.
Further reading: Tailscale CLI
Going deeper: Why a Tailscale device vanishes after 180 days, and how to stop it