Union troops attempted a second assault on June 14. During this assault, the 50th Massachusetts supported Union batteries and did not take part in the unsuccessful advance on the Confederate fortifications. Confederates surrendered their position at Port Hudson on July 9 after hearing that the larger stronghold of Vicksburg, Mississippi had surrendered. The 50th Massachusetts was assigned to garrison duty in Port Hudson were they remained until the end of their service on July 29.