YEIY BOATS ARE HERE! my suggestion though is that you need to make a system that makes sure you can produce things without deleting buildings
You're not supposed to delete buildings. The buildings support and maintain the units. In the future unsupported units will slowly die off.
The intent is that units act as a drain on your economy, requiring you to expand in order to support more units.