text:  Rainier 's initial impulse on learning in November 1796 of the impending declaration of war between Britain and Spain was to draw up plans for a major invasion of the Philippines , centred on Manila in repetition of the successful British capture of Manila in 1762 . Co @-@ operating with the Governor @-@ General of India Sir John Shore and Colonel Arthur Welleley among others , a substantial naval and military forces were earmarked for the operation which was in the advance planning stages , when unexpected news arrived in India in August 1797 announcing the Treaty of Campo Formio which brought the War of the First Coalition to an end . Britain now faced France and Spain alone , while emissaries from the Tipu Sultan of the Kingdom of Mysore , an old opponent of Britain in Southern India , were seeking French assistance with a renewed outbreak of hostilities . The resources planned for the operation against Manila were therefore retained in India and the operation cancelled , but the protection of the China Fleet was still essential and Rainier diverted some of his squadron eastwards to China . 
  