---
title: "exit"
canonical: "https://help.vicon.com/space/Shogun16/13339914/exit"
format: markdown
---
# Description

Quits the Shogun Post application; causes Shogun Post to begin shutdown. You are prompted to save any unsaved data before completely shutting down.

## Functional area

System

# Command syntax

## Syntax

|  |
| --- |
| `exit` |

### Arguments

None

### Flags

None

## Return value

void

## Examples

```plaintext
// Perform some long operation and save the scene
// ...
saveFile "C:/data/myfile.hdf";
 
// Shut down Shogun Post. Since we just saved the scene, we won't be 
// prompted to save the scene before shutting down.
exit;
```

# Additional information

## Related commands

- [loadFile](https://vicon-help.atlassian.net/wiki/spaces/Shogun16/pages/13341452)
- [newFile](https://vicon-help.atlassian.net/wiki/spaces/Shogun16/pages/13341326)