Most cars have a battery saver feature that allows you to use the radio and stuff for a preset amount of time after you turn off the car. Plus, it shuts off the lights after a preset amount of time thereby saving the battery.
This was a stupid oversight on Mazda's part by not having it. My wife...