If your alliance loses a region during the creation or adding process the process will stop automatically. All spent resources will get lost.

In general: Make sure that you can hold your region before you add it to a country or before you create a country.