Welcome to the community.
The screenshot shows the options in the Finder. Do you get a pop-up when you close After Effects (screenshot) that has the options to Save, Don't Save, and Cancel?
Let us know, we're here to help.
I didnt get this box BUT I reinstalled After Effects and also Media Encoder. Allowed all disk access etc.
Now I get that dialog box and can say Dont Save. Reinstalling worked for me 🙂 thx