> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# REVERT

After using [EXECUTE AS](https://docs.kinetica.com/content/sql/security/execute-as.md#sql-security-impersonation-exec-as) or
[SET USER](https://docs.kinetica.com/content/sql/security/set-user.md#sql-security-impersonation-setuser) to switch to another user, the
original user can be switched back to using the following command:

> [!NOTE]
>
> This command is only available through
> [KiSQL](https://docs.kinetica.com/content/tools/kisql.md) or database clients configured with
> the [Kinetica JDBC driver](https://docs.kinetica.com/content/connectors/sql_guide.md#jdbc).

```sql title="REVERT Syntax" theme={null}
REVERT
```

See the `EXECUTE AS`
[example](https://docs.kinetica.com/content/sql/security/execute-as.md#sql-security-impersonation-exec-as-example) for an example usage
of `REVERT`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.