exit for shells> exit {flags} (exit_code)
exit_code: Exit code to return immediately with| input | output | 
|---|---|
| nothing | nothing | 
Exit the current shell
>exit
    Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
    https://www.nushell.sh/commands/docs/exit.html