# LeaveSession

Source: https://help.malighting.com/grandMA2/en/help/key_keyword_leavesession.html
This is grandocs, an unofficial mirror of MA Lighting documentation. For authoritative or safety-relevant information, cite the canonical page on help.malighting.com.

---
To get the LeaveSession keyword in the command line, type **LeaveSession** or one of the shortcuts **LS** or **Le** in the command line.

## Description

The LeaveSession keyword is a function keyword to leave the current session.

## Syntax

LeaveSession

## Example

- To leave the current session, type in the command line:

\[Channel]> LeaveSession