You are free to join other company if they are not giving  NOC just try to get exit paper and passport if they not giving you both you have to simply submit your complain to labour court, they'll sort out everything for you. It is illegal to hold your passport.


Your other company can apply for your work visa i think there will be no problem.