the_dengle on 19 September 2014
I believe it's because Smash Bros uses all of the 3DS's memory, including the bit set aside for running the OS. So when you quit the demo, it has to do a soft reset of the system.
I am somewhat confused that you can still go to the home screen to adjust brightness settings, though.