sentence: the raid on batavia of 27 november 1806 was an attempt by a large british naval force to destroy the dutch squadron based on java in the dutch east indies that posed a threat to british shipping in the straits of malacca .