revoke forbiddance to send Apple events to System Events
Check setting under: System Preferences > Security &amp; Privacy > Privacy

If you find nothing there, then in Terminal, read the man page for: tccutil

man tccutil


You can use the following command to reset all permissions you've set on AppleEvents:

tccutil reset AppleEvents


Note that after doing so, you'll have to respond to all previous queries that may come forward again.



 Note: A few years back there was a project IIRC on GitHub that allowed reading the privacy database and targeting specific occurrences of a set permission, but I think changes in macOS Mojave crippled it. It might be worth doing a bit of googling if you'er looking to target just a specific occurrence of an app permission that is not available in the GUI.