Poland Retakes Ukraine

If Poland-Lithuania retakes Ukraine from Russia sometime before 1700 what are the potential consequences for both Russia and Poland-Lithuania and Europe as a whole. How would Russia deal with a stronger Poland-Lithuania blocked it in the west? How would Poland-Lithuania interact with the Ruthenian Cossacks? How might Russia do without the breadbasket of Ukraine?
 
Best chance for this-prevent Lubomirski's rebellion (perhaps John Casimir has different wife, or his son, John Sigismund, survives, so there is not attempt of vivente rege election of Duke of Condé, that enraged nobles of PLC. So there is no Battle of Mątwy in 1666, royal army used against rebels IOTL could be used against Russia instead.
 
Top