If a legal case has been settled out of court, the parties can formally withdraw by submitting a compromise petition to the court. This petition should request the court to decide the case based on the agreed compromise, often facilitated through a National Lok Adalat. This procedure can also enable the refund of court fees paid.