To leave a guild in EverQuest II, open the Guild tab from the EQ2 button, find your name in the members list, press Remove, and confirm.