On September 6, 1879 Latorre was promoted to commander of the ironclad Cochrane, the strongest unit of the Chilean fleet.
On the night of October 7 he was informed that the Huáscar had been seen near the port of Huasco and was moving north.