Well you need to stop listening the music while the car is off!
Cuz your putting the all voltage into an Amp and therefore it goes to the Sub... and that what it causes it
you wana listen the music with sub on? simple, start your ignition and listen... I always do it and it doesnt cause any issues!