> For the complete documentation index, see [llms.txt](https://docs.engagevr.io/engage/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.engagevr.io/engage/sessions/leaving-a-session.md).

# Leaving a Session

1. To leave a Session, open your menu or tablet, and then, from the side menu, select the leave icon <img src="/files/KjbUkOEFq5J1Vi2KHx75" alt="" data-size="line">.
2. Choose one of the following options:
   * If you are not a Session host, or are the only person in the Session, select **End Session**.
   * If you are the only host in the Session, select **End Session for All**. Any other users in the Session return to the menu screen.
   * If you are one of multiple hosts in the Session, select **Leave** to allow the Session to continue after you leave, or select **End Session for All** to end the Session and return all other users to the menu screen.

For more information about the host role, see [Host controls](/engage/host-controls.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.engagevr.io/engage/sessions/leaving-a-session.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
