Dear Mr.nsjamuar

How long you had been in your previous company? If the period is less than one year; you have to exit the country and to come in a new visa. If you have completed one year in the previous company you can get a transfer to the new company without being exit .
This has been the rule prevailing here.

Once NOC is issued, the old company cannot restrict anybody.