# Managing SecretVM Lifecycle

## Using SecretAI Portal

### Changing Machine State

On SecretAI Portal, it is possible to stop, start, restart a SecretVM from the Machine Details page or from the list of SecretVMs:

<figure><img src="/files/nY0hXeM93Mp9Kp4B1h08" alt=""><figcaption><p>SecretVM Details Page</p></figcaption></figure>

<figure><img src="/files/wp4rU1J0MyYiGf0zDDLf" alt=""><figcaption><p>SecretVM List</p></figcaption></figure>

### Deleting a SecretVM

Users can choose to delete the SecretVM. In this case, the machine's state will be lost forever.

## Using SecretAI CLI

*Coming soon*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.scrt.network/secret-network-documentation/secretvm-confidential-virtual-machines/managing-secretvm-lifecycle.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
