 Afterwards , Yamashiro returned to home waters , where she stayed until August 1943 ; the next month , she became a training ship for midshipmen . In July 1943 , Yamashiro was at the Yokosuka drydock , then was briefly assigned as a training ship on 15 September before loading troops on 13 October bound for Truk Naval Base , arriving on the 20th . She sailed for Japan on 31 October . On 8 November , the submarine USS Halibut fired torpedoes at Junyo that missed , but hit Yamashiro with a torpedo that failed to detonate . Returning to Japanese waters , Yamashiro resumed her training duties . 
