so you have your RCA leads from the hu and a remote,yeah?
if so,the only reason its not turning off is it connected to the wrong wire on the hu
if you have a tester just take the remote wire off the amp or sub,test it with your ignition off (should be no power) and then test when the ignitions...