/leave
Leaves the current channel.
Where you type it
In the Slack message box.
Add
Nothing else needed.
Example
/leave
A few built-in commands (like /archive, /rename, /remove) can be limited to owners and admins. A real command built into Slack, checked against its own help pages in November 2026. Official help page