After staying for a short period at the court of the Raja, Inbakavi set out for the court of Serfoji II of Thanjavur.