Paraphrase: Shahaji soon quit the service of the Nizam Shah and sought his fortune under the Adil Shah .
Soon thereafter , the Shahaji left the service of Nizam Shah and sought his fortune under the Adil Shah .