---
title: "ezgh sandboxes suspend"
description: "Suspend a running sandbox."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh sandboxes suspend

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh sandboxes suspend <sandbox> [--wait] [flags]
```

Suspend a running sandbox: its memory is saved and it stops running. A command or a file copy resumes it, as `ezgh sandboxes resume` does, with its processes where they were. `--wait` waits until it's suspended.

Part of [`ezgh sandboxes`](/cli/reference/sandboxes).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--wait` | boolean |  | wait until it's suspended, and print it then |
| `--wait-timeout` | duration | `10m0s` | how long `--wait` waits |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/sandboxes-suspend/index.mdx
