Sorry, that doesn't make sense to me.
Sounds like your battery just went dead, leaving the circuit starved of power, resulting in borderline/chaotic/unpredictable behavior.
9V batteries aren't good power supplies to begin with; don't bother with them. Save them for your smoke alarms.