Yamal pipeline has mostly been operating in reverse flow from Germany to Poland anyways. The Germans can get Russian gas from Transgas or NordStream pipeline and send it to Poland. If they have any spare to send. But so much for the German plan to "become independent" of Russian gas by filling their gas storage until Fall and expectation that Russia will collapse from Europe not buying gas from Russia until Spring comes. Yep. Great plan Germans. Not that it would ever work but. But with the southern Ukrainian pipeline and now Yamal pipeline shut down even the prospect of filling the storage until then becomes ever more of a mirage.
From what I understand the Polish gas operator got sanctioned by the Russian government this week after Poland confiscated a Polish gas distribution company owned by Russian gas company Novatek. Since the Polish gas operator partly owns the Yamal pipeline segment over Poland now Gazprom can't sell gas through it anymore or make gas transit payments to said Polish operator. Good job Poles.
Poland basically sanctioned Novatek, preventing them from getting gas to deliver to customers, then seized their assets claiming they were failing their contract, and essentially gave their assets to the Polish gas operator. Bye bye Poland.