 On 16 May 1917, "U-5" was conducting a training cruise in the Fasana Channel near Pula when her stern struck a mine.The boat sank at a depth of with a loss of 6 of the 19 men on board.From 20 to 24 May the submarine was raised, and through November underwent a refit.