
So Jim is put through the ringer: fistfights, deadly cobras, more fistfights, a vicious tiger, a polo match with him as the target, and plenty of smooching the maharaja’s daughter in between. It is a hard knock life, but at least the boys are learning what it means to kill. Or something like that. The action is all padding for a paper thing plot.
The true reason for luring Jim to the palace is revealed at the climax. The Indian Commissioner discovered oil on land the Pawnee have settled. He is going to se the maharaja‘s cash to exploit it, but he needs the Pawnee to move on and hopes Jim will utilize his often mentioned, but never explained, solid reputation with Indian to convince them to leave. He refuses, of course. Singh feels betrayed by the commissioner’s threat on his daughter, so they scuffle. Or rather, an obvious stut man in a very bad wig scuffle. Both are killed when Singh’s heart cannot take the stress and the commissioner drowns in a pit of oil.
I could have sworn midway through the episode this absurd dancing ape was artie in disguise coming to rescue Jim, but he came later posing as a maician. This ape was supposed to be real. It did not quite work:

