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

# memanto memory restore

> Return an expired memory to the active state.

# memanto memory restore

Return an `expired` memory to `active`, clearing its expiry stamp entirely.

```bash theme={null}
memanto memory restore MEMORY_ID
```

**Arguments:**

* `MEMORY_ID` - ID of the memory to restore (required)

**Examples:**

```bash theme={null}
memanto memory restore b7c3cf31-e537-49f1-abc4-c50ac6adeac5
```

**Output:**

```
Memory restored to active.
  Memory ID: b7c3cf31-e537-49f1-abc4-c50ac6adeac5
  Completed in 2.06s
```

**Notes:**

* Requires an active agent. Run `memanto agent activate <agent-id>` first.
* Clears `expired_at` and `expired_by` along with the status — no stale stamp is left behind.
* Find expired memories with `memanto recall --expired`.
* A memory that was hard-deleted with [`memanto forget`](/cli/data/forget) or purged by [`memanto policy purge`](/cli/policy/purge) **cannot** be restored.
* Backed by the [Restore Memory](/api-reference/data/restore-memory) API endpoint.
* See the [Memory Lifecycle](/reference/memory-lifecycle) reference for the full model.
