How to Quit Catalyast App on Mac?

We have just completed extensive experiments have determined that a Catalyst macOS application’s Quit can not be intercepted for the purpose of saving a “dirty” note, and for a Catalyst iOS application there is no such thing as application Quit. Has anyone figured out how to do this?