How do I dismiss many multiples of the "Disk Not Ejected Properly" notification in macOS?
I started killing processes with "Notification" in their name, and when I hit the one called "NotificationCenter" the smoke finally cleared:

killall NotificationCenter