Measures were taken to prevent even a show of resistance being made. Though Gapur was head of the party that existed in favour of Bruni, and of a restoration to the old condition of affairs, yet in Kuching he had but few adherents upon whom he could safely rely, even amongst his own people; but Malays when forced into a corner often resort to desperate deeds of folly, and it was to guard against such an act that precautions were taken.

In a letter the Rajah describes both Gapur and what his proceedings were:—

As he got rich there was no keeping him straight. His abuse of power, his oppression of the people, his revival of ancient evils, his pretensions, his intrigues, and his free use of my name for purposes of his own, had been often checked but never abandoned, and ever recurring. Some time ago he was seriously warned, and made to disgorge some of his ill-gotten wealth; but this, instead of preventing him, only urged him forward, and he not only intrigued against the Government, but by threatening the better class of Sarawak people, thwarted our measures, and used language which was treasonable against every constituted authority.

I resolved, therefore, at once to degrade him from his office, so as to crush the seeds of discontent in the bud. I ordered a great public meeting of the country for an important business, but, excepting Captain Brooke, St. John, the Datu Bandar, Datu Temanggong, and a few others, no one in the country knew my object. The court was crowded, many hundreds being present. I gently explained the duty of the people towards the Government. I alluded to the past, the present happiness of all classes, and the crime committed by any one who failed in obedience to constituted authority, or desired to disturb the public peace. I pointed out to the elders of the Kampongs that, having received authority from the Government, they should not have yielded it to the Patinggi, but at the same time I acquitted them of all evil intention, and declared—which was strictly true—that I knew their attachment to the Government.

I then turned to the Patinggi, I reminded him of the past, the warnings he had received and neglected. I detailed the charges against him, and concluded by saying, "I accuse you before the people of treason, and I give you the option of publicly declaring your submission to the Government or of death." He submitted. I then said, "I do not seek your life, for you are the Bandar's brother,[[228]] and have many relatives my friends. I do not confiscate your property, for your wives and children have not shared your offence. For the safety of the Kingdom I order you to sit in your place in this court, whilst proper persons bring to the fort all the arms and ammunition which belong to you." He sat quiet. I requested his relatives to go and bring the guns and powder, and, after a couple of hours, the things were brought. I then shook hands with the culprit, told him what I had done was for the good of the people, and that he should hear further from me through the proper channel. He then returned to his house.

There was still a difficulty to be overcome, how to get rid of him. The Rajah bethought himself of proposing a pilgrimage to Mecca, and Gapur jumped at it. This would remove him from Sarawak for some time, and, before his return, it was hoped his influence would be broken, and his opportunities of doing mischief be removed, through his position being given to his brother-in-law, the Datu Bandar.[[229]] The Bandar's brother was made the Imaum, the head of the Muhammadan priesthood, and was added to the list of the Rajah's trusted councillors. He remained true and a mainstay to English influence among the Malays in subsequent difficult times.[[230]] As to Gapur, on his return in 1856 from Mecca, now a Haji, he was repudiated by his relations, who refused to be responsible for his conduct, so that he had to be banished to Malacca. We shall hear of him again, but for the moment must look at the proceedings of the Sherip Masahor, whose brother had married the daughter of Gapur.

Muka was then a town of considerable importance, at the mouth of the river of that name. It has since increased considerably, and is now as large as Bruni. Then, as now, it had a great trade in raw sago, which is shipped to Kuching, where it is converted into sago flour in the Chinese factories, in which form it passes to Singapore. Oya comes next in importance, then Bintulu, and then Matu and Bruit. These places supply more than half the world's consumption of sago. The trade in this had always been the principal one of Kuching until a few years ago, when pepper took the first place, but the sago trade is still increasing.

For years past numerous trading vessels from Kuching visited Muka to obtain this article of commerce, but in 1854 much difficulty had been felt in getting it, as at that time civil war was raging, and anarchy existed in Muka, so that trading vessels were debarred from entering the river, being liable to plunder by one party or the other.

The Pangiran Ersat had been placed there in authority by the Sultan, and he had oppressed the people incessantly. But beside him there was the Pangiran Matusin, his cousin, also of royal blood, who had been brought up among the Muka people, where he had many relations through his mother, who was of inferior class. A feud had long existed between these two Pangirans, both of whose houses were fortified. Ersat had expelled his cousin from Muka, but the latter had been allowed by the Sultan to return.

Matusin, though unprincipled himself,[[231]] could not countenance the extortions of the other, and he supported his own people against the injustice of his rival.