Meanwhile, despite insistent advice to definitely crush Carrera and his forces, Salazar tried to negotiate with him diplomatically; he even went as far as to show that he neither feared nor distrusted Carrera by removing the fortifications of the Guatemalan capital, in place in since the battle of Villa Nueva. Taking advantage of Salazar's good faith and Ferrera's weapons, Carrera took Guatemala City by surprise on April 13, 1839; Castro Salazar, Mariano Gálvez and Barrundia fled before the arrival of Carrera's militia men. Salazar, in his nightshirt, vaulted roofs of neighboring houses and sought refuge; reaching the border disguised as a peasant. With Salazar gone, Carrera reinstated Rivera Paz as Head of State of Guatemala.