He was shot by the Dutch, who awaited him at night having received their spy's message, while rowing towards a nearby island in a small boat with several of his men in order to support resistance of the natives and to prepare them for a rebellion.
Noticing the trap, he leapt into the sea and swam for it, dying en route.