I found a bug: You still can pause the game in the ending, so if i pause and click "Y" key, i leave the game and go to the menu, this bug happened in every BBRMS game
Well that also happens in the original game since there's game controller script in there which is the same one from the main part so it's not a bug. Just don't press pause in the ending.