If your friend wants to resign & go back, nothing can stop him. If the sponsor is not accepting the resignation, he can take help of the Labor Court or can report it to National Human Right Commission.