some radios have another power wire connected to it. this enables the radio to "remember" your settings.
my theory is, this second wire is the source of power when the ignition and accessories switch are turned off. it also suggests that there is something wrong with that radio, because it is not supposed to get power from that second wire to keep it running..
or yes, as jaypee says, a relay has shorted out..