What happens to settlements if I leave them empty or unoccupied?
Nothing - if you have an empty settlement and it gets attacked, you might lose some of the custom structures located at the settlement but there are no people to kill and the happiness level of the settlement doesn't seem to drop below 50%. Additionally settlements do not appear to ever get "taken over".