You were on visit visa and they gave you working visa, now you have completed your contract, you can’t do anything if they will not give you NOC.