# exit (exit from the debugger)

### Command

> exit

### Syntax

> exit

### Description

Unloads the kernel modules and closes the debugger.

### Parameters

None

### Examples

None

### IOCTL

Performs an `unload` before exiting the debugger, please visit [unload ](https://docs.hyperdbg.org/commands/debugging-commands/unload)for more information.

### Remarks

None

### Requirements

None

### Related

[unload (unload the kernel modules)](https://docs.hyperdbg.org/commands/debugging-commands/unload)
