--- title: "system.vision.exit" description: "Exits the running Client, as long as the shutdown intercept script doesn't cancel the shutdown event." --- # system.vision.exit > Exits the running Client, as long as the shutdown intercept script doesn't cancel the shutdown event. :::info Backwards Compatibility This function replaces [system.util.exit](versioned_docs/version-8.1/appendix/scripting-functions/system-util/system-util-exit.md). Any scripts containing Vision Client scoped functions that were replaced with system.vision syntax will still work to maintain backwards compatibility. ::: This function is used in **Python Scripting**. ## Description Exits the running Client, as long as the shutdown intercept script doesn't cancel the shutdown event. Set force to true to not give the shutdown intercept script a chance to cancel the exit. Note that this will quit the Client completely. You can use system.vision.logout() to return to the login screen. ## Client Permission Restrictions This scripting function has no [Client Permission](../../../ignition-modules/vision/vision-project-properties/vision-project-properties.md#vision-permissions-properties) restrictions. ## Syntax `system.vision.exit([force])` ### Parameters Type | Parameter | Description ------- | ------- | ------ Boolean| `force` | If true (1), the shutdown-intercept script will be skipped. Default is false (0). [optional] ### Returns Nothing ### Scope Vision Client ## Code Examples ```python title="Example #1" # This code would exit the Client after confirming with the user. if system.vision.showConfirm("Are you sure you want to exit?"): system.vision.exit() ```