Conversation so far:
What is Porfirio Díaz's campaigns of no-reelection?
Díaz had challenged Juárez with his Plan de la Noria, in which he stated his opposition to presidential re-election and called for a Constitutional Congress.
What happened after Porfirio Díaz challenged Juárez?
In response, Díaz launched the Plan de la Noria on 8 November 1871, supported by a number of rebellions across the nation, including one by General Manuel González of Tamaulipas
What was the Plan de la Noria?
The Plan de la Noria was a revolutionary call to arms with the intent of ousting Mexican President Benito Juárez.
What happened after Porfirio Díaz launched the Plan de la Noria?
In March 1872, Díaz's forces were defeated in the battle of La Bufa in Zacatecas.

Question: How did he come back from that?
Self-contained rewrite: How did Porfirio Díaz come back from the battle of La Bufa in Zacatecas?