Following the liberation of the Crimea in late May, 4th Ukrainian Front found itself in a strategic dead-end. In a major redeployment, 2nd Guards and 51st Armies were shifted to the Reserve of the Supreme High Command, and were then railed northwards in anticipation of the coming summer offensives. In late June the 347th returned to the front in 1st Guards Rifle Corps, back in 51st Army, where it would remain for the duration, now serving in 1st Baltic Front. Exploiting into the gap in the German front created by the destruction of Army Group Centre, by mid-July 51st Army had advanced past the eastern Lithuanian border near the city of Švenčionys. Over the next three weeks the division made a significant advance into northern Lithuania, reaching the vicinity of Linkuva by August 1. When Third Panzer Army launched Operation Doppelkopf on the 15th, the 347th was located on the Lielupe River in Latvia, northwest of Jelgava. By mid-September 51st Army had been shifted to the south, roughly along the Latvian/Lithuanian border, near Eleja. It was still in these positions in the first week of October at the start of the Memel Offensive Operation, which finally cut off Army Group North and created the Kurland Pocket.