For some context, the question is probably motivated by discussions such as [0]:
> "Let's prepare for a total cut-off of Russian gas. This is now the most likely option," [said French Minister of Economy, Bruno le Maire].
> Some companies could therefore be asked to "slow down their energy consumption, or even stop their energy consumption for a certain period of time" while it would be "totally impossible" for others to do so without triggering wider industrial repercussions," he explained.
Is gas used to produce electricity? Mostly I think not.
The really large consumers are industrial and use it directly. Some can be shut down relatively easily and will be in case of trouble. Others, not so much and will stay on. Not sure if there are any gas powered smelters, but if you emergency shut down one of those you have to take it down and rebuild it after.
I think the main effect is indirect. Not sure about France, but in many other countries in Europe gas is used extensively for both local and remote heating. If the price of gas soars, the industries that can will switch to electricity, making that price rise considerably as well. Europe already saw record highs in electricity prices in many regions last winter.
> "Let's prepare for a total cut-off of Russian gas. This is now the most likely option," [said French Minister of Economy, Bruno le Maire].
> Some companies could therefore be asked to "slow down their energy consumption, or even stop their energy consumption for a certain period of time" while it would be "totally impossible" for others to do so without triggering wider industrial repercussions," he explained.
[0] https://www.euronews.com/my-europe/2022/07/11/electricity-su...