New York Laws
Article 7-A - Citizen-Taxpayer Actions
123-F - Termination of Action.

ยง 123-f. Termination of action. No action brought pursuant to this
article shall be compromised, discontinued or dismissed by consent,
default, or neglect to prosecute, except with approval of the court.