Hi,

Your Qatar visa expires once you are out of Qatar irrespective u have cancelled or not after 6 months.

If you need to re enter Qatar you need NOC from the employer with whom you were working.

You cannot comeback to qatar for a period of 2 years if you do not poss NOC from the employer you were working with.

Take care and stay bless

Regards
Felix