the working permit entitles you to get the Resident Permit. If you don't have a job here then you won't get the RP. Simple as that.

Eisha have you tried in getting a NOC from your sponsor so that you can apply to other job. Otherwise you are in Legal trouble and if found by authorities you could be deported and banned from entry in Qatar.

Regards!!