Piracy and highjackings have been in the news recently, but in Mughal times they were such a problem that they several times brought about a complete breakdown in relations between the Mughals and the European countries.
During the 17th century, Surat was the most important port in Western India. It was a major trading centre and also the embarkation point for an estimated 15,000 pilgrims per year (see Hajj, below), travelling to the ports of Mocha and Jeddah on their way to Mecca. As early as 1613 Portuguese traders had seized the Queen Mother Maryam Makani’s flagship Rahimi, carrying off her entire cargo and approximately 700 passengers to Goa (see Findley below). The resulting deterioration Jahangir’s relationship with Portugal opened a window of opportunity for Sir Thomas Roe’s mission of 1615-18.
Acts of piracy continued in the years that followed, culminating in 1695 with the self-styled “Captain” Avery’s capture of the Ganj-i Sawa’i, the largest of the Mughal ships, on its voyage home to Surat. This incident is described in some detail in the Persian Muntakhab al-lubāb by a contemporary historian Khāfī Khān who had several acquaintances on board. The ship was carrying gold coins worth Rs 52 lakh, the revenue from the sale of Indian goods at Mocha and Jedda. Despite having 80 cannon and 400 muskets, it was captured and boarded by pirates (Moinul Haq’s translation, see below, pp. 419-25):
“The whole of the ship came under their control and they carried away all the gold and silver along with a large number of prisoners to their ship. When their ship became over-loaded, they brought the imperial ship to the sea-coast near one of their settlements. After having remained engaged for a week, in searching for plunder, stripping the men of their clothes and dishonouring the old and young women, they left the ship and its passengers to their fate. Some of the women getting an opportunity, threw themselves into the sea to save their honour while others committed suicide using knives and daggers.”

Avery’s act seriously jeopardised the East India Company’s trading activities. A huge reward was offered for his capture but he was never tracked down. Emperor Aurangzeb, on his part, retaliated by imprisoning the English traders at the East India Company factory in Surat and threatened a siege of Bombay. Khāfī Khān recounts the occasion when, during the hostilities, he was transporting goods from Surat to Rahiri (Raigarh) and had an interview with the governor of Bombay Sir John Gayer.
“…the discourse turned upon different topics, pleasant and unpleasant, bitter and sweet; questions and answers were made. Of these questions one was about the cause of the arrest of his agents. Trusting that God and His Prophet would protect me, I said in answer: ‘You do not take upon yourself the responsibility of the shameful deeds committed by your men, which are condemned by all sensible men’.”