 was the last U-boat sunk in action, by an RAF Catalina; while the Norwegian minesweeper and the freighters and were torpedoed in separate incidents, just hours before the German surrender.The remaining U-boats, at sea or in port, were surrendered to the Allies, 174 in total.Most were destroyed in "Operation Deadlight" after the war.