You can quit your alliance by clicking your embassy, then go "to the alliance". Afterwards click "options" and then select "quit alliance". Click OK.
Afterwards you have to enter your password for safety reasons and confirm by clicking "OK".