If you can turn it back on again and it is capable of resuming its previous state, why not?
But the question remains, if it is not _necessary_ to the AI's proper functioning, would it be okay to turn it off? A human parallel to that is more like sedating your workers when they're not needed.