I don't know if I misunderstood your post but you can repair if you could get to the foundation before it's destroyed and you fight off the shark. Just hold right click on the hammer and choose repair.
Recent community posts
Adding different sea creatures like dolphins and whales would be nice whereby one could be friendly but the other can either be friendly or enemy AI. For example if you fish too much you become a threat so the dolphins/whales attack and the one that's always friendly can be fed and after a while turns into a mount for a certain period of time.