 The operation succeeded in its aim of reducing French influence in Oman and in dissuading the political forces in the region from encouraging attacks on British shipping , but it was unable to totally halt Al Qasimi activity in the Persian Gulf . By 1811 , when much of the Royal Navy and HEIC forces in the Indian Ocean were diverted to Java , the Al Qasimi returned in force , although their destructive actions were weaker than before and rarely strayed into the Arabian Sea . Ultimately , it was not until the forces of the Ottoman Empire seized Medina in 1812 , that some measure of control could be exerted over the tribes of the Arabian peninsula . Subsequent British intervention , both military and diplomatic , also reduced the threat of attacks during the nineteenth century . 
