How could more countries be brought back?

Countries have left because of cost, low public interest and political reasons. What could be done to bring countries back? And what can be done to keep the countries we already have?

I’m particularly interested in ideas for how to bring back/keep the countries with low public interest.