I figured out the Exit issue with BigPEmu, it might work for Duckstation too
but Retroarch with the swansation core and CHDs will load and exit for me
the guys at Launchbox had the same issue
https://forums.launchbox-app.com/topic/71470-atari-jaguar-on-bigpemu-emulator-what-command-line-is-needed-to-exit-the-game-when-pressing-esc/
unfortunately the script they are using did not work for HQ, I had to modify it (slightly)
1. click on the platforms icon
2. click on the emulator
3. click on the running script
4. type in
$Esc::
{
ProcessClose("BigPEmu.exe")
}
5. save the changes
If you need to access the emulators system menu you will need to load the emulator OUTSIDE of HQ or HS, as this script will exit the emulator when you press the
ESC key.
try and see if it works for Duckstation, obviously you will need to change the ProcessClose("NAME.exe") to match the name your emulator exe.