To leave your guild in World of Warcraft, simply type /gquit in the chat box and press Enter. A confirmation prompt will appear, and once you confirm, you will leave the guild.