Leaving an Alliance is simple. In the Alliance profile screen, you can just hit the button marked Leave. Don't worry, you will be asked to confirm your decision before you go ahead and leave the Alliance. 

Note: Remember that you will not be able to leave your alliance immediately if you recently captured a land from other players. You will need to wait for the 24-hour cool down period to expire before you can leave and join another alliance.