He cannot force you to stay more than a few months past your contract but he doesn't have to give you an NOC either. All he is required to do is pay you and send you back home