If your company ceases to exist, then the employer-employee relationship also ceases to exist. Without this relationship, the claim for maternity leave is not admissible. However, if the company shuts down during the course of maternity leave, the pregnant woman is eligible to receive paid maternity leave until the date of the company's cessation.
Mergers and Maternity Leave
If the company merges with another company, the new company is expected to assume all liabilities from the merged company. In such circumstances, all employee claims, including your claim for maternity leave, remain valid.
Thanks,
Dinesh Divekar