In 1810, the Netherlands were formally annexed by France. As part of the resulting changes, Jan Willem Janssens was appointed personally by Napoleon Bonaparte to replace Daendels as Governor General. Janssens had previously served as Governor General of the Cape Colony, and had been forced to capitulate after being defeated by British forces at the Battle of Blaauwberg in 1806. Janssens accompanied a French frigate division under Joseph-François Raoul, consisting of the "Méduse" and "Nymphe" and the corvette "Sappho" tasked to support Java. This force was accompanied by several hundred French troops (light infantry) and some senior French officers. They arrived in Java in April 1811 without mishap. On 2 September, the frigates arrived at Surabaya, tailed by the 32-gun frigate HMS "Bucephalus". Two days later, another British ship, , joined the chase, but lost contact on 8 September. Four days later, "Méduse" and "Nymphe" chased the "Bucephalus", which escaped and broke contact the next day. The squadron was back in Brest on 22 December 1811.