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 had been given orders to sink "Yorktown". After a 24-hour search, the enemy submarine found her quarry on the 6th and attacked with a spread of four torpedoes. One torpedo missed completely, two passed under destroyer "Hammann" alongside the carrier and detonated in "Yorktown"s hull, while the fourth broke "Hammann"s back. The destroyer sank in less than four minutes. The carrier remained afloat until early on the morning of the 7th. At about dawn, she finally rolled over and sank.