One Big question, why they will terminate you?

If you can get NOC, well you can come back to your country and apply another job to qatar. As soon as your present employer will give you release paper like NOC, visa and RP not cancelled, you are allowed to stay in qatar.. Then thats the time you can directly apply here in qatar.