Rubuta ci gaba don wannan sakin layi - Bayan an ci shi a cikin tawaye, Caldas, yana jin tsoron ramuwar gayya, ya tsere zuwa Popayán, amma gano cewa sojojin sarauta da ke karkashin jagorancin mataimakin sarki Juan Sámano na gaba, sun wuce shi, sai ya tafi lardin Antioquia. Antioquia ta ayyana 'yancin kai a matsayin "Jiha ta Antioquia" ko kuma " 'Yanci da Masarautar Antioquia". Jihar Antioquia ta nada Juan del Corral a matsayin mai mulkin kama karya, kuma del Corral ya yi maraba da Caldas kuma ya nada shi don ƙirƙirar Makarantar Soja kuma a matsayin Daraktan Masana'antar Rifle da Janar Injiniya, tare da ba shi mukamin Kanal. A matsayinsa na injiniya, Caldas ne ke da alhakin gina gine-gine, masana'antar ƙera foda, da masana'antar ƙera makamai, da kuma ƙera tsabar kuɗi. Ya kuma koyar a Kwalejin Injiniya a Medellín, a 1814. Tsakanin 1813 da 1814, ya ɗauki nauyin ƙarfafawa tare da Kogin Cauca da kuma shigar da bindiga da masana'antar gunpowder. A ƙarshen 1814, Sarautar Spain ta ci nasara da Nariño kuma ta kama shi, kuma Bolívar da sojojinsa sun tilasta wa Cundinamarca mika wuya ga lardunan United. Gwamnatin Janar ta Tarayya, wacce aka kafa a Santafé, tare da karuwar damuwa game da yiwuwar sake dawo da Spain
Bayan fara yakin Morillo, sai ya kira Caldas don ya nada shi da ƙirƙirar irin wannan Makarantar Soja, da kuma gina gadoji, ramuka, da kuma ƙarfafawa a kusa da birnin. An aika shi zuwa rundunar arewa da kuma gina hanyoyi a Quindío.