# exitApp [Built-ins](README.md) Canonical ID: `app.exit`. Nederlands: `sluitApp`. Immediately finishes the entire program successfully, including remaining functions, loops, event scripts, and pending timers. It takes no status-code argument. In the [IDE](../concepts/ide.md) or browser it ends the program session and preserves the preview for inspection. A native application requests normal host shutdown; it does not wait indefinitely on its last frame. Use return when only the current function should finish. ## Signature ```text exitApp() ``` ## Arguments This call takes no arguments. Always write the parentheses. ## Return value Does not return. ## Example ```pliro # language: en function finish(): say "Pliro" exitApp() finish() say "unreachable" ``` Only `Pliro` is printed; the call does not return. ## Notes and common mistakes Use the function name for your source language. Its [canonical ID](../concepts/canonical-identity.md) is a shared documentation label; you do not type that ID as a call. Giving your own variable or function the same name can hide the built-in. Supply the documented [arguments](../concepts/parameters-and-arguments.md) and value types. Pliro reports mismatches when checking can detect them, or when the call runs. ## Related entries [Programming guides](../guides/execution.md) · [Host support](../guides/hosts.md) · [Calls and arguments](../syntax/calls.md)