If you are the Leader of your Alliance, and attempt to leave without promoting a successor, you are shown this popup message. After trying it just now, I noticed the system randomly selected one of the two Co-Leaders to promote to Leader. You can promote another player before you leave the Alliance, the same way you currently promote them to Council and Co-Leader
You should be able to re-join later if you like.