Cachia took part in the Maltese uprising of 1798–1800 against the French occupation of Malta. He designed a number of batteries for the insurgents, including the Corradino Batteries, Tal-Borg Battery and the Żejtun Batteries. In 1799, he also designed a gunpowder magazine at San Rocco Battery.