If you are using OSX (or any unix system) and Cursor (not VScode), try: killall Cursor.
killall Cursor
Pay attention to the case sensitivity of "Cursor".