Bonifacio moved its headquarters to Naic after the fall of Imus. :112 In Naic Bonifacio and his officers founded the naic military agreement and created a rival government of the newly formed government of Aguinaldo. She refused the election to Tejeros, claiming that Bonifacio was the leader of the revolution. She also ordered that Filipino men be forced to join The Bonifacio Army. The agreement eventually called for a coup against the established government. When Limbon refused to deliver supplies to Indang, a town in Cavite, Bonifacio ordered him to burn them. :117 When Aguinaldo became aware of the naic military agreement and reports of abuse, on 27 April 1897, he ordered the arrest of Bonifacio and his soldiers (unbeknownst to Bonifacio). :120 Colonel Agapito Bonzon met Bonifacio in Limbon and attacked him the next day. Bonifacio and his brother Procopio were wounded, while their brother Ciriaco was killed on 28 April. :121 They were brought to Naic to be tried. :124 On November 1, 1897, Aguinaldo and several revolutionaries convened a citizens` assembly to draft a provisional constitution for the Philippines, now known as the Biak-na-Bato Constitution. The government was to be governed by a Supreme Council, consisting of a president, a vice-president and four secretaries empowered to govern. However, this plan never came about because Aguinaldo had begun negotiations with the Spanish government.
The result was an agreement under which the Philippine revolutionaries would go into exile in Hong Kong and surrender their weapons in exchange for financial compensation and pardons. The Biak-na-Bato Pact, as it was later called, was signed on December 15, 1897. On December 24, 1897, Aguinaldo and the revolutionaries left for Hong Kong. In Hong Kong, Aguinaldo and his companions founded a junta that worked to pursue the revolution and free the Spaniards. This tragedy stifled enthusiasm for the revolutionary cause and accelerated the failure of the insurgency in Cavite, because many of Manila, Laguna and Batangas, who were fighting for the province (of Cavite), became demoralized and stopped, and soon the so-called central government had to withdraw to the mountains of Biak na-Bato in Bulacan. She could afford to stay there because the Spaniards stopped attacking them to reduce their losses.