Generally, withdrawing a legal case in India isn't simple , but it is possible under certain circumstances. Such process is governed by the Criminal Procedure Code and involves the consent of the magistrate. https://panchanandshaw.com/blog/can-mother-deny-father-access-to-child/