why my mac opens with do not disturb mode although I didn't schedule?

Solution 1:

  1. Open the terminal
  2. Type killall NotificationCenter

This fixed it for me. I've found the solution on this reddit thread.