An employer cannot reject an employee's resignation. The employee has the right to resign at any time by serving the required notice or by compensating the employer salary in-lieu of notice. Failure of the employer to allow an employee to leave his service is an offence. The employer shall be liable on conviction to a fine not exceeding $5,000 or to imprisonment for a term not exceeding six months or to both.