hi,
you can go back to qatar even if your boss canceled your visa , you can come back to Qatar by a family visit visa but you cant work , because the family viza is not related to labors departement law.
so you can come back without NOC from previous sponsorship.