---
title: "vakna resume"
description: "Resume a suspended box where it left off."
command: "vakna resume"
generated: scripts/generate.ts
verified:
  cli: "0.0.0-mock"
  date: "2026-10-20"
---

`vakna resume`: resume a suspended box where it left off. Proposed: the real CLI doesn't have this command yet.

## Synopsis

```sh
vakna resume <box>
```

## Flags

| Flag | Default | What it does |
| -- | -- | -- |
| `--format <format>` | `text` | text, or json: one JSON object per line |
| `--json` | `off` | the same as --format json |
| `-h, --help` | `off` | this help |

## Examples

### Example

```sh
$ vakna resume docs
```

```prints
suspended 2h 10m · compute not billed
resumed in 0.33s
```

Exit code 0.

### Another example

```sh
$ vakna resume docs --format json
```

```prints
{"v":1,"event":"resumed","box":"docs","id":"sbx_eu1a_01JB80K4M5N6P7Q8R9S0T1V2W3","ms":334,"suspendedMs":7800000,"computeBilledMs":0,"mocked":true}
```

Exit code 0.

### When it fails

```sh
$ vakna resume sbx_eu1a_01JB
```

```prints
vakna: "sbx_eu1a_01JB" matches 7 boxes: api, worker, web, docs, prove-hypothesis-42-0137, prove-hypothesis-42-0588, prove-hypothesis-42-0412
hint: vakna list  # use a name, or the full id
```

Exit code 1.

## Exit codes

| Code | Meaning |
| -- | -- |
| 0 | ok |
| 1 | vakna failed; under shell, run, try or fork, the command in the box failed |
| 2 | usage: a missing argument, an unknown flag or command |

## JSON output

With `--format json` (or `--json`) every line is one JSON object. `v` is the format's version; `mocked` marks numbers from the mock.

```sh
$ vakna resume docs --format json
```

```prints
{"v":1,"event":"resumed","box":"docs","id":"sbx_eu1a_01JB80K4M5N6P7Q8R9S0T1V2W3","ms":334,"suspendedMs":7800000,"computeBilledMs":0,"mocked":true}
```

## Errors

- [`vakna: unknown command, unknown flag or missing argument`](https://vakna.com/docs/errors/usage): Run `vakna <command> --help` and fix the command line it points to.
- [`vakna: no box "<box>"`](https://vakna.com/docs/errors/not_found): Run `vakna list` and use a name from it.
- [`vakna: "<id>" matches more than one box`](https://vakna.com/docs/errors/ambiguous): Use the box's name or its full id; `vakna list` shows both.

## --help

This page and the help text come from one definition.

```prints
vakna resume · resume a suspended box where it left off
Proposed: the real CLI doesn't have this command yet.

usage
  vakna resume <box>

flags
  --format <format>  text, or json: one JSON object per line  (default: text)
  --json             the same as --format json  (default: off)
  -h, --help         this help  (default: off)

examples
  vakna resume docs
  vakna resume docs --format json

exit codes
  0  ok
  1  vakna failed; under shell, run, try or fork, the command in the box failed
  2  usage: a missing argument, an unknown flag or command
```
