Waiver of undertaking; removal and change of parties

N.Y. Civil Practice Law & Rules Law § 2504, under Undertakings.

N.Y. Civil Practice Law & Rules Law § 2504

§ 2504. Waiver of undertaking; removal and change of parties. (a)\nWaiver of undertaking. Unless the court orders otherwise, an undertaking\nmay be waived by the written consent of all parties.\n (b) Removal and change of parties. The liability on an undertaking\nshall remain in effect in favor of the party for whose benefit it was\ngiven, notwithstanding a removal of the action or a change of parties.\n