A relay that opens when 12 volts are applied and closes when power is shut off is what you need put it in line beetween your shut off switch and ground. have the 12 volts acivated by the main shut off sswitch inthe back that should do the job