The officers and main leaders of the rebellion who had been arrested were initially taken to Castle of Montjuïc, where they remained until 26 July they were transferred to the prison ship Uruguay , in the city's port. During the time they were imprisoned on the prison ship, the prisoners were treated correctly: they were allowed to sit on the deck and read novels from the ship's library, however the provocative attitude of many of the detainees were grounds for the authorities to end these privileges. The officers involved in the conspiracy were tried in court martial by the republican authorities, aboard the Uruguay . The general Manuel Cardenal presided over the military tribunal that judged the rebellious officers. On August 11, Generals Goded and Fernández Burriel were tried for having directed the military rebellion, condemned to death and shot the next day in the moat of Montjuic Castle. The general Legorburu would also end up being executed A few days later, on August 26, after being tried in court martial, other ringleaders of the rebellion were also shot: the Infantry commander López-Amor, and the captains López Belda, López Varela and Lizcano de la Rosa.
