Having taken heavy losses in the attack, which also scattered their formations, the Japanese strike leaders canceled the mission after conferring by radio. The Japanese aircraft all jettisoned their ordnance and reversed course to return to their carriers. The sun set at 18:30. Several of the Japanese dive bombers encountered the U.S. carriers in the darkness, around 19:00, and briefly confused as to their identity, circled in preparation for landing before anti-aircraft fire from TF 17's destroyers drove them away. By 20:00, TF 17 and Takagi were about apart. Takagi turned on his warships' searchlights to help guide the 18 surviving aircraft back and all were recovered by 22:00.