How do you pause a game on a Nintendo DSi?

Normally the Start button will pause a game, but the console can be closed, which will put it into sleep mode and pause the game.