This question is probably not in the right place, but I don't think any of the other Stack Exchange communities are a good fit for it, either.

I am wondering what actions an experienced team/organisation should take if a ship from a fleet goes adrift due to complete engine failure. I am interested in the course of action taken both in calm weather and in severe storm conditions.

EDIT: two very good answers, thank you, but i realised i wanted to add something extra

What would happen in the same situation if the engines were completely destroyed, let's say they suffered spontaneous explosion and it's a post-apocalypse world with no ports for miles, wouldn't there be some other way to save the ship?

Also how good is the idea of having most of the boats of a fleet somehow tied/clumped together?