You can leave your Kingdom from the main Roster screen. You will lose all contributions made to the Kingdom.
Leaving a Kingdom
To leave a Kingdom, open the Kingdom menu from the Social screen, and then select the Roster tab and select Leave in the bottom right.
If you're a Kingdom Ruler you will need to demote yourself and then leave the Kingdom or disband (delete) the entire Kingdom.
NOTE: Disbanded Kingdoms cannot be recovered!