I would imagine if your car went limp because of knock your going to have to clear the codes from the ecu before it will remove itself from the "safe" mode. If your knock sensor is bad then my guess would be yes it will always throw a code, because the engine will constantly think its getting knock. if it didnt work this way I would be shocked, because then how would you know the sensor is bad? and if you dont know the sensor is bad then you could very well destroy your engine, therefore negating the purpose of a knock sensor in the first place. I dont have any real proof on that, thats just my common sense speaking......