It happened several times but I will give one example. I had a system that had 1 mining station giving 4 energy. It was captured by an enemy and the system was still giving 4 energy to the enemy (computer), when I captured it back mining station was only giving me 3 energy. I suspect after recapturing the station -1 energy upkeep cost is applied again.