This is a bug tracked in the MAUI repo on github at Close button - not close the app in window. #7197.
It sounds like you have new information on this since you first reported it. I suggest you update the existing bug with your current version information.
The MAUI repo is the right place for MAUI bug reports. Bug reports and feature requests are off topic on Q&A (see Guidelines for posting a quality question on Microsoft Q&A.