Hi there..

You can come back to Doha with cancelled RP using family visit visa, if you have a qualified family member as sponsor.

This visa type can be extended up to 6 months and when it expires, you need to leave the country and can only return after 3 months.

If you can get the NOC from your sponsor , then, you are allowed to work legally. Otherwise, it is prohibited by law to work under family visit visa only.