one solitary ship-of-the-line , the superb , bobbed at anchor , all her masts snapped away and water pouring from her sides ; two frigates , which had dropped their anchors in time , were on their beam-ends and struggling to right themselves before they , too , sank .