World of Warcraft
- Open the Guild panel (J key)
- Click on the Roster tab
- Select your character on the list
- Right click and select Leave Guild
You cannot quit a guild if you are the Guild Master, you must first transfer the leadership to another guild member. Alternatively, you may disband the guild.
World of Warcraft Classic
Use the chat command: /gquit