Link Search Menu Expand Document Edit GitHub

Exit


Exits the currently active client context or the shell if used without a context.

mqtt> exit

Options

Help Options

OptionLong VersionExplanation
-h--helpDisplay help message for command.
-V--versionDisplay version information of the cli.

Example

Connect a client with identifier client and exit its context afterward

mqtt> con -i client
client@localhost> exit
mqtt>

NOTE: The client is still connected in the shell


Exit the Shell

mqtt> exit
$