Managed retreat can be traumatic and hard. But with good planning, the land left behind can serve new purposes, and make public what was once private.