I press the player one and player two start at the same time to exit out of MAME. I’m using an I-PAC controller board. Pressing these buttons appears to send an esc key to MAME, which exits the game, otherwise, I have to press the esc key on my keyboard. The EXIT in the pause menu is just getting you out of the menu, not the game.