As per section 477 of the companies' ordinance, a company secretary is allowed to resign. The resignation of the company secretary must be present in the articles of association of the company.