Anki crashed and does not offer the 'check database function'

None of the apps on my laptop such as Word, Excel etc. can be opened because Anki crashed. When I try to close Anki, an error pops up that does not allow me to do so. I looked up what to do in such a situation and I read that I have to check my database under the tools section. However, I cannot access this function with the current state of my laptop. This is the information that is in the error report:
Anki 2.1.26 (70784154) Python 3.8.1 Qt 5.9.7 PyQt 5.13.2
Platform: Mac 10.11.6
Flags: frz=True ao=False sv=?
Add-ons, last update check: 2020-07-19 13:10:44

Caught exception:
Traceback (most recent call last):
File “aqt/main.py”, line 973, in closeEvent
File “aqt/main.py”, line 436, in unloadProfileAndExit
File “aqt/main.py”, line 411, in unloadProfile
File “aqt/main.py”, line 519, in unloadCollection
File “aqt/main.py”, line 783, in closeAllWindows
File “aqt/init.py”, line 108, in closeAll
File “aqt/main.py”, line 517, in callback
File “aqt/main.py”, line 404, in callback
File “aqt/main.py”, line 416, in _unloadProfile
File “aqt/profiles.py”, line 190, in save
File “anki/db.py”, line 41, in execute
sqlite3.OperationalError: unable to open database file

I hope someone can help me!

Please see https://faqs.ankiweb.net/when-problems-occur.html