At the start of 1796 French and allied forces had been almost completely driven from the
Indian Ocean, with most of the colonies of the French-allied
Batavian Republic falling to British invasions during 1795. The only significant French presence was on
Île de France and a few other nearby islands, from which a squadron of two
frigates periodically operated against British trade. The British were so confident of supremacy that they had split their forces, with a large squadron based at
Simon's Town in the
Cape Colony of Southern Africa under
Sir George Keith Elphinstone and a smaller dispersed force operating under
Peter Rainier in the
Dutch East Indies, based at the captured port of
Malacca. The important trading ports of
Calcutta,
Madras and
Bombay were largely undefended, as were the valuable trade routes which supported them. On 4 March 1796 significant French reinforcements were dispatched when a squadron of four frigates and two
corvettes sailed from
Rochefort under the command of
Contre-amiral Pierre César Charles de Sercey. Both corvettes were lost before the squadron had left the
Bay of Biscay and frigate
Cocarde was forced to return to port after running aground. After resupplying at
La Palma and joining with replacement frigate
Vertu, the squadron enjoyed unimpeded progress, seizing several British and Portuguese ships, including two
Indiamen in the South Atlantic and Western Indian Ocean. The squadron had not been dispatched primarily to increase the French military presence in the East Indies, but rather to enforce the
National Convention's decree that Île de France abolish
slavery. The agricultural economy of the island depended on slavery to remain profitable, and the colonial committee had simply ignored the decree when it first arrived in 1795. The matter was then taken up by the
Committee for Public Safety, which sent agents
Baco and
Burnel to ensure the ruling was carried out, supported by 800 soldiers under General
François-Louis Magallon. On arrival at
Port Louis on 18 June, the agents were confronted by a large body of heavily armed militia opposed to the abolition of slavery. Although they ordered Magallon to attack the islanders, the general refused and the agents were sent back to sea in a small corvette, eventually returning to Europe. Sercey remained in the East Indies, refitting his ships and joining his squadron to that already at Île de France. This force he divided, sending
Preneuse and a corvette to patrol the
Mozambique Channel. The remaining six frigates, comprising
Vertu,
Régénérée,
Forte,
Seine,
Prudente and
Cybèle, with the
privateer schooner Alerte, Sercey took eastwards on 14 July, towards the
Bay of Bengal. Sercey was unaware of how scattered British forces were in the region, and sent
Alerte to scout ahead after the squadron arrived off
Ceylon. Captain Drieu of
Alerte made the miscalculation of attacking a ship on 14 August which turned out to be the 28-gun British dispatch frigate
HMS Carysfort, and on board
Alerte the British captors discovered documents revealing the exact extent of Sercey's strength and intentions.
Carysfort's captain was unable to warn any allied ships as his small frigate was the only British warship in the Bay of Bengal, and so he instead arranged for false information to be passed to Sercey regarding a fictional British battle squadron at Madras. This was sufficient to deter Sercey from lingering in the area, and after a raiding sweep along the coast to
Tranquebar his squadron sailed eastwards once more. On 1 September Sercey raided
Banda Aceh, capturing a number of merchant ships and on 7 September seized the small merchant ship
Favourite off the northeastern coast of
Sumatra en route to attack the British port of
Penang. The following morning, as his squadron transferred
rice from the prize, two large sails appeared in the distance to the northeast. ==Battle==