Yes, generally, a landlord can cancel an Eviction Notice.
However, once legal proceedings begin, the landlord and tenant are subject to the rules of the authority considering the case. As such, they must comply with any requirements to withdraw or end an Eviction Notice.