When closing Roblox, you are prompted to choose between closing the app or returning to the desktop app.
I have checked off “Do not show again” and tell it to close. This works when clicking the X button.
However, if Roblox disconnects, clicking “Close” on the disconnect message will return you to the desktop app, even if you have told it not to.
(Windows 11)