OneNote appears as a virtual printer called OneNote (Desktop) or OneNote (Desktop) – Protected. To avoid using it when printing, select a different printer in the print dialog instead of OneNote.
If Windows protected print mode is enabled, the classic OneNote (Desktop) printer is removed automatically and only the protected IPP-based printer remains. In that case, simply choose another available printer when printing.
If the OneNote printer was accidentally removed and is reinstalled but not wanted, it does not run in the background by itself; it is only used when explicitly chosen as the printer. Leaving it installed but never selecting it is sufficient to stop OneNote being used for printing.
References: