https://military.wikia.org/wiki/USS_Astoria_(CA-34)
Battle of Midway
The heavy cruiser remained in Pearl Harbor only until the 30th. On that day, she returned to sea with the hastily repaired Yorktown to prepare to meet yet another major thrust by the Japanese fleet – this one aimed at Midway. Air searches from that island spotted the enemy's Midway Occupation Force — made up of transports, minesweepers, and two seaplane carriers – early on 3 June.
The remaining six, however, succeeded in attacking Yorktown, and three of those scored hits. One of the three hit the carrier's stack, causing fires in her uptakes that literally smoked Rear Admiral Fletcher and his staff out of flag plot. At about 1310, he shifted his flag to Astoria.
Yorktown's damage control parties worked feverishly, and by 1340 she was again underway under her own power, albeit at only 18 to 20 kn (21 to 23 mph; 33 to 37 km/h). At about 1430, the second attack – composed of 10 Nakajima B5N2 "Kate" torpedo bombers escorted by six Zero fighters – came in and eluded the weak CAP.
The following day broke with Yorktown still afloat, and efforts began to salvage the battered warship. Though the Japanese had abandoned the Midway attack and had begun retiring toward Japan, submarine I-168 had been given orders to sink Yorktown.
During the early summer of 1942, she completed repairs and alterations at the Pearl Harbor Navy Yard and carried out training in the Hawaiian operating area.