of the ships , which managed to anchor to ride out the gale , the french cruiser berwick was under the wing of the donegal when the french prisoners broke free and in an act of sheer madness , cut he cable sending their ship ploughing onto the shoals of st lucar .