In 1762, as part of what would later be known as the Seven Years' War, Britain declared war on Spain, and captured Manila, resulting in the British occupying the city. After the capture of Manila, an emboldened Diego sought to initiate an armed struggle to overthrow the Spanish functionaries in Ilocos and replace them with native-born officials. He joined forces with the British, who appointed him governor of the Ilocos region on their behalf. During this revolt, Gabriela became one of Diego's closest advisors and his unofficial aide-de-camp during skirmishes with Spanish troops. She was also a major figure in her husband's co-operation with the British.