Generally, withdrawing a legal case in India isn't simple , but it is possible under certain circumstances. This process is governed by the Criminal Procedure Code and involves the consent of the magistrate. https://panchanandshaw.com/blog/can-fir-be-quashed/