When a boat gets into trouble at sea the priority will always be to look after the people on board, but once you and your crew are safe, the last thing you want to discover is a salvage claim is being made against you or your boat. The RYA explains in this article.
https://www.rya.org.uk/newsevents/e-newsletters/inbrief/Pages/hub.aspx