A battle between the Dutch and Barbary pirates near the coast