During the Fourth Anglo-Dutch War a fleet from the Dutch East Indies left the Mediterranean, escorted by the 36-gun frigates Castor under captain Pieter Melvill van Carnbee and the Den Briel under captain Gerardus Oorthuys. They did not pass Gibraltar unnoticed and were intercepted by two British frigates, the 36-gun under captain William Peere Williams-Freeman and the 28-gun under captain Thomas Pakenham. The Dutch frigates reached the Atlantic and fired a salvo at their pursuers, frightening them off, but Carnbee decided not to pursue the faster British ships but to proceed with their primary objective of escorting the merchantmen. The Dutch ships thus turned south under cover of darkness to reach the Canary Islands.
