When the Battle of Miraflores broke out, Silva immediately moved to the Peruvian right flank in support of the violent counterattack carried out by the Peruvian arms, personally leading the reinforcements of the line between Cáceres and Suárez. He was injured in the action. Already recovered from his wounds, he marched to the Sierra to continue the war of resistance, under the orders of Cáceres.