From the date of cancellation you can stay for a max of 1 week . however with prior intimation from your sponsor you could keep extending it. My Visa was also cancelled . and i stayed for little over a week more as i was waiting for another company appointment letter . I was then forced to leave the country as my Previous employer TRAGS who had no compassion threatened to deliver my passport to the CID .At the time i was new into qatar and got scared so i left . But the max what would have happened would have been even if they did give the passport to the CID i would have got an additional 1 week as it takes that long to process the papers . anyways dude ask your company if they could extend you stay till you sort out your issues in qatar .

All the best dude

Michelt