Press U to open the Guild Window, select yourself, then click the Remove button. You will be asked to confirm by typing your character's name into a box.