Would submarines ever help a ship in trouble?

Reading that article, they did quite a bit more than that; see my post in another thread here.