When at the final room the 41st switch is turned on, event EV011 uses a built-in fade-out, shows a message and then opens main menu. You could probably just delete this event, if you want to
Which version of RPG Maker (MZ/MV/etc) did you use?
I'm getting a TypeError of 'Cannot read property 'clamp' of undefined' at title start-up from the game after saving the edit, hopefully that's due to encryption fouling something up.