---
title: "exit"
canonical: "https://help.vicon.com/space/ShogunPost121/1253738013/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

> Macro (scroll-tablelayout)

|  |
| --- |
| `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/ShogunPost121/pages/1253738225)
- [newFile](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736776)