first thing your friend's boss has no right to physically abuse him. if this is really the case, your friend should file a police complaint immediately.

secondly, NOC is the sole descrition of the employer. moreover why will he give him a release when he is earning money from him every month ???