The alliance and its temple are deleted the moment the last member leaves the alliance. There is no way to undo this so ensure you have people in your alliance if you do not wish it to be deleted.
How do you delete/erase an Alliance? (How to fully erase an Alliance)
Last Updated: 305d