In 1826 Barcala joined the army that fought in the War of Brazil under the command of Colonel Ramon Bernabe Estomba and was taken prisoner. Spent several months in a prison in Rio de Janeiro, with the constant threat of being sold as a slave until he was released in a prisoner exchange.