follow mathy's instruction if your company will provide you NOC and supports your change of sponsorship.

But if not...you must take the risk...that's what i did 3 yrs. back...i resigned, leave qatar and comeback :)