Although it is possible, I don't think the company will do so because in the first place they hired you and you agreed with the offer. To cancel the visa, the company will also post an amount equivalent to a one way ticket at the airport immigration. Or maybe you can wait after six months as the visa will be cancelled automatically.

The best way to do about this is to come and resign from the company in days, a week or before a month. Maybe you can exit to another country and wait for your new sponsor to issue you a new visa.