(1) A person who has applied to a court for an order under the care and protection chapters may withdraw or discontinue the application before the end of the proceeding by—
(a) telling, in writing, each person who was given the application; and
(b) filing a notice of withdrawal or discontinuance with the court.
(2)
If another party to the proceeding agrees with the withdrawal or
discontinuance, the notice of withdrawal or discontinuance must have the
agreement endorsed on it.