They would be liable to be sued for massive amounts for breach of contract of they just shut it off normally. The pipe destruction got them off that hook.
(i’m personally not 100% sure who did it, but there were realistic reasons for Russia to do it)