Your boat, if in danger, could be salvaged and you would have to pay the person who saved it but they dont automatically get to keep the boat.
If you tied it up a court will presume you did so to come back to it. You protected it by securing it. You didnt abandon it to the sea.