tuna --stop
Stop the cloudflared service.
Usage
tuna --stopWhat It Does
- Checks if the cloudflared service is running
- Asks for confirmation
- Stops the launchd service
- All tunnels go offline
Output
$ tuna --stop
⚠ This will stop the cloudflared service and take all tunnels offline.
? Are you sure? Yes
✓ Cloudflared service stopped
Tunnels are offline. Run 'tuna <command>' to restart.Skip Confirmation
Use --yes or -y to skip the confirmation prompt:
tuna --stop --yes
tuna --stop -yEffects
What Stops
- The cloudflared daemon process
- All active tunnel connections
- All tunnels become inaccessible
What Remains
- Tunnel configurations (in Cloudflare)
- DNS records
- Credentials in Keychain
- Local config files
Restarting
Simply run tuna again to restart:
tuna npm run devThe service will be reinstalled and tunnels will reconnect.
When to Use
Troubleshooting
If tunnels aren't working correctly:
tuna --stop
tuna npm run dev # Fresh startFreeing Resources
The cloudflared service uses minimal resources, but you can stop it when not needed:
tuna --stop # When done for the dayBefore Uninstalling
Stop the service before removing tuna:
tuna --stop
npm uninstall -g tunaService Not Running
If the service is already stopped:
$ tuna --stop
Service is not runningThis exits with code 0 (success).
See Also
- tuna --delete - Remove tunnel completely
- tuna --list - Check tunnel status