 Pillai was divested of his portfolio in the administration and was later accused of treason and of divulging state secrets to rivals and Europeans.He was later arrested and tortured for three years.After his execution orders were passed, he was initially ordered to be taken on a buffalo to Kuzhumaikkad, where he would be executed.