Skip to main content
Killing a sandbox shuts it down and permanently removes it. A killed sandbox cannot be resumed or reconnected. You can kill sandboxes from the CLI or programmatically through the SDK.

Kill a connected sandbox

Kill by sandbox ID

Use the namespace kill method when you only have the sandbox ID. It returns true if the sandbox was found and killed, and false if no sandbox with that ID exists.

Kill all sandboxes

The CLI can kill every running sandbox at once with -a / --all, optionally filtered by state or metadata.
CLI
Last modified on August 5, 2026