Potrero. After the liberal defeat of 1840, Cabañas and Gen. Morazán moved from Guatemala and went into exile in Panamá, then he traveled to Costa Rica. Cabañas established a loyal friendship with General Francisco Morazán, who, as General Luis Maldonado says, told him "My Dear General" in his correspondence. After the death of Morazán in Costa Rica on 15 September 1842, General Cabañas says: "It's not possible. You can shoot us, but not General Morazán ...that would be a crime to Central America". After this he returned to El Salvador, where he lived for several years and collaborated in the government of Salvadorean presidents Eugenio Aguilar and Doroteo Vasconcelos. He was Minister of War in December 1850 and was defeated at the Battle of Sitio in San José La Arada in February 1851. Presidency During his tenure, with José Santiago Bueso with vice-president, Cabañas made important deeds to encourage the public instruction, agriculture and mining, as well as significant efforts to improve the coffee cultivation and Public Instruction. He was the first promoter of the railroad, the coffee and craft of rush. He was an educator president, that imposed taxes on exports of cattle and timber to establish the first 50 public schools paid for by the Exchequer. While Trinidad Cabañas resided in the city San Miguel, was reported by a Senators' Commission consisted of Francisco López, Vicente Vaquero and León Alvarado, about the results of the elections conducted in Honduras in late 1851, when he was elected as president. The Legislative Assembly of Honduras sent him the Election's Decree as Honduras' Constitutional President, he made the Promise of Law and took possession on 1 March 1852. In order to restore the Federation, Cabañas was appointed as Vice-Chief of State by the Constituent Assembly of Central America, met in Tegucigalpa on 13 October 1852. However Cabañas rejected this charge and said: "I'm not ready for so high office, I'm a soldier, I have no public administration knowledge" so the Vice President Pedro Molina took over the task of celebrating assemblies in El Salvador and Nicaragua. At 23 June 1853, he signed the first contract for construction of the Inter-Oceanic Railroad of Honduras, to communicate Omoa with Amapala, a project that had been in development since 1590 but had been shelved by the Council of the Indies and instead realized in Panama. As this idea required borrowings from foreign banks, Cabañas