On 30 June 1945, after the German surrender, she was transferred from Wilhelmshaven to Loch Ryan, Scotland for Royal Navy Operation Deadlight, the scuttling of surrendered German U-boats, and sunk on 21 December the same year.