if company cancel visa without informing bank, then she can exit Qatar and enter through another visa by a new sponsor.

Or her best option is to get a guarantor for her loan so even if she inform (or the company informed the bank) she can still go and return with a new visa (as long as she has an NOC).