Since you are still in probationary period you can submit resignation with 3 days’ notice and your employer will be obliged to send you back home with exit permit.

Leave permit is required if you are more than one month in Qatar even if you do not complete your medical and RP process.

But you will be free to come back to Qatar with any other company after leaving, their will be no ban or waiting period after leaving.