Keep in mind that the only way to "exit" an application is to turn off the DS. You can soft-reset, but that's basically rebooting the DS entirely, not exiting like one would in Windows for instance.
Just use the power button. The DS was made to work that way.