Gotō Islands
She returned to Japan on 30 June and was assigned as a training ship for the Kure Submarine School on 10 July. The boat was slightly damaged during an air raid on the Mitsubushi dockyard at Kobe on 17 March 1945. While under repair, "I-158" was converted into a mother ship for a pair of Kaiten suicide submarines. She was struck from the Navy List on 30 November 1945 and scuttled off the Gotō Islands on 1 April 1946.