Having lost 80 of its tanks in its probing attacks against the bridgeheads, the 5th Tank Division withdrew in the night to the north-east. The path now clear, the division advanced another 100 km to the outskirts of Vilnius. Its motorcycle battalion captured the city the following day. Consolidating its position in and around Vilnius, the division then handed responsibility for the city over to the 20th Motorized Division and resumed its advance east. Unlike previous campaigns, when the Red Army positions were outflanked and cut off, the Soviet defenders frequently continued to fight rather than surrender, even though their situation was hopeless. The stubbornness of the Soviet defenders cost more time and casualties, frustrating the German command. Though creating pockets of resistance, the Soviet command was unable to mount a linear defense, and the vital road and rail communications north east of Minsk were cut on 26 June, only four days into Operation Barbarossa. The following day, the division linked up with 18th Panzer Division from Panzer Group 2, trapping the bulk of three Soviet Armies, the 3rd, 10th and 13th, in a vast pocket west of Minsk. In a three-day dash, the division reached the town of Yartsevo, outflanking Soviet positions around Smolensk and threatening the Soviet 20th Army with encirclement. Meanwhile, the 29th Motorized Division had captured the city of Smolensk from the south, but with substantial elements tied down at Yelnya, 2nd Panzer Group lacked the strength to link up again with 7th Panzer positions. The gap between the two groups remained open, and the Soviet command was able to move forces both ways through the corridor. On 26 July, together with 20th Motorized Division, the division lunged southwards another 20 kilometers, but still could not entirely close the encirclement. In another week, however, pressure from all sides had squeezed the pocket out of existence and the division was finally relieved by infantry units, and taken out of line for refitting and rest. The division started the campaign with 400 officers and 14,000 men. By January 1942, six months from the start of the offensive, the division had suffered 2,055 killed, 5,737 wounded, with 313 missing and another 1,089 sick with frostbite and louse-borne diseases. Total casualties were 9,203. In late winter, the division took up positions along a defensive line running Yukhnov-Gzhatsk-Zubtsov. On 15 March, it took part in fighting against a series of Soviet