I received this message when trying to quit anki, when I press shift command + Q it still didn't let me restart. What should I do?

An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools>Add-ons menu item to disable some add-ons and restart Anki, repeat until you discover the add-on that is causing the problem.
When you’ve discovered the add-on that is causing the problem, please report the issue on the add-ons section of our support site.
Debug info:
Anki 2.1.40 (cf446733) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Mac 10.15.7
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-04-10 08:13:31

Caught exception:
Traceback (most recent call last):
File “aqt/main.py”, line 1007, in closeEvent
File “aqt/main.py”, line 444, in unloadProfileAndExit
File “aqt/main.py”, line 421, in unloadProfile
File “aqt/main.py”, line 530, in unloadCollection
File “aqt/main.py”, line 797, in closeAllWindows
File “aqt/init.py”, line 132, in closeAll
File “aqt/browser.py”, line 730, in closeWithCallback
File “aqt/editor.py”, line 508, in saveNow
File “aqt/editor.py”, line 617, in saveTags
File “anki/notes.py”, line 68, in flush
File “anki/rsbackend_gen.py”, line 364, in update_note
File “anki/rsbackend.py”, line 256, in _run_command

Please force Anki closed, then see if the problem comes back after updating: When problems occur - Frequently Asked Questions