disconnect

The MutationObserver method disconnect() tells the observer to stop watching for mutations.

MDN Reference