 The ship returned to Japan for repairs in mid @-@ November . Lack of fuel and materials meant that she could not be brought back into service and she was turned into a floating anti @-@ aircraft battery . Her funnel and mainmast were removed to improve the arcs of fire of her AA guns , which were increased by two Type 89 mounts and nine triple 25 mm gun mounts . Her forward secondary guns were removed in compensation . A coal @-@ burning donkey boiler was installed on the pier for heating and cooking purposes and a converted submarine chaser was moored alongside to provide steam and electricity ; her anti @-@ aircraft guns lacked full power and were only partially operational . On 20 April Nagato was reduced to reserve . In June 1945 , all of her secondary guns and about half of her anti @-@ aircraft armament was moved ashore , together with her rangefinders and searchlights . Her crew was therefore reduced to less than 1 @,@ 000 officers and enlisted men . On 18 July 1945 , the heavily camouflaged ship was attacked by carrier @-@ based fighter bombers and torpedo bombers . Nagato was hit by two bombs and a rocket that killed 35 men and damaged four 25 mm guns . On 30 August , a few days before the formal surrender , American sailors took control of the ship . 
