She then checked into dry-dock for overhaul, but undocked three weeks early and readied for sea in a remarkable 40 hours to participate in the momentous Battle of Midway.