# KILL\_APP

The **KILL\_APP** command force-closes the currently running app and removes it from background memory.\
This is used when a clean relaunch is required to test cold-start behavior or to reset app state during multi-app flows.

**Syntax:** KILL\_APP

**When to use:**

1. Validating the app’s cold start performance
2. Resetting the app before switching to another application
3. Ensuring the app does not retain previous session context
4. Testing recovery flows after force-close scenarios
5. Handling inconsistent states caused by incomplete exits or background hangs\ <br>


---

# 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.drizz.dev/commands-reference/system-command/kill_app.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.
