Dutch Governor Thomas Schippers in 1773 secured a plan to prevent the strength of Raja Haji's pirate bands.
Fearful of an invasion of Riau, (the Bugis fought the Dutch in Malacca to a standstill in 1757) they invaded it in 1784 but securing no victory, had to call off their siege after three long months.
The Dutch national fleet had to be called for backup which eventually led to Raja Haji's death and a major dispersal of Bugis around the Riau islands.
[3] According to famed Malay writer Munshi Abdullah, Raja Haji was rumoured to have been buried in a pig farm by the Dutch.
[4] It was not until the English conquered Malacca that the royal family requested Raja Haji's body to be removed from the pig farm.