Overview
Themullvad disconnect command terminates the active VPN connection and returns your system to its normal networking state.
Syntax
Options
Behavior
When you runmullvad disconnect:
- The command sends a disconnect request to the Mullvad daemon
- The VPN tunnel is torn down
- Your system returns to using regular network connections
- If lockdown mode is disabled, normal internet access resumes
Examples
Basic Disconnect
Disconnect from the VPN without waiting:Wait for Disconnection
Disconnect and wait until fully disconnected:Disconnect with Short Option
Related Commands
- connect - Connect to a VPN relay
- status - Check current connection status
- lockdown - Configure network blocking when disconnected
- auto-connect - Control automatic connection on startup
Exit Status
Notes
- If lockdown mode is enabled, network traffic will remain blocked even after disconnecting
- The disconnect command records the reason as “mullvad disconnect” in daemon logs
- Auto-connect settings are not affected by manual disconnection
- To prevent automatic reconnection, see auto-connect
Source Reference
Implementation:mullvad-cli/src/cmds/tunnel_state.rs:33