# .disconnect (disconnect from a session)

### Command

> .disconnect

### Syntax

> .disconnect

### Description

Disconnects from the current session.

### Parameters

None

### Examples

None

### IOCTL

None

### Remarks

This function disconnects from a session and will not unload the kernel modules.

### Requirements

None

### Related

[.connect (connect to a session)](https://docs.hyperdbg.org/commands/meta-commands/.connect)


---

# 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.hyperdbg.org/commands/meta-commands/.disconnect.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.
