How do you leave a chat room?

To leave a chat room, click on i in the top right of the room to navigate to Chat Details. Click on Options, then Member Permissions. Click on Leave Room to exit.