> ## 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 logout

> Sign this computer out of Memanto Cloud and switch back to your previous backend.

# memanto logout

Sign this computer out of [Memanto Cloud](https://docs.memanto.ai/cloud/overview.md) and switch back to the backend you used before signing in.

```bash theme={null}
memanto logout
```

**Output:**

```
Signed out of Memanto Cloud. Backend: moorcheh-cloud
```

**What it does:**

* Signs the computer out on Memanto Cloud: its key stops working and it leaves the **Computers** list in the console.
* Removes `MEMANTO_API_KEY` from `~/.memanto/.env`.
* Switches back to your previous backend (`moorcheh-cloud` if there was none) and clears the active agent.

**Notes:**

* Memories stay on Memanto Cloud. Sign in again to use them.
* If you signed in with a key created in the console (`memanto login --key`), that key stays active. Manage it in the console under **API keys**.
* If Memanto Cloud can't be reached, the key is still removed locally, and the command tells you to sign the computer out in the console.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.