Your employment contract terms need to be perused before advising however, if you have served your notice period and there are no further impediments as per the terms of the contract, then you can send a legal notice to them that you haver served notice period and that you e relieved within 5 days failing which legal proceedings will be initiated against them.
For any further queries, feel free to contact me on 7601090381 or email@example.com
As per your submission it reveals that this is a matter of leave
As per maternity Benefits Act you can claim leave
Advocate IRFAN SHAIKH