4 November 1863, Confederate forces evacuated Brownsville, Texas, giving the Union a strong foothold at the Mexican border. While supporting the expedition, Virginia captured the British steamer Matamoras on 4 November 1863 and the British brig Dashing Wave 5 November 1863. After the Rio Grande expedition, Virginia returned to blockade duty and found the waters off Texas a fertile breeding ground of smuggling activity. This was especially true of the area off San Luis Pass, and Virginia made most of her captures there. These included the British schooner Mary Douglas and her cargo of coffee, bananas, and linen, which she seized on 15 February 1864, and the British schooner Henry Colthirst, which she took on 22 February 1864. On 29 February 1864 off Galveston, Texas, Virginia overhauled the Confederate schooner Camilla with a cargo of cotton. She captured the sloop Cassie Holtat the same time, but Cassie Holt grounded off San Luis Pass and was burned. Once again off San Luis Pass, Virginia captured the sloop Randall on 8 March 1864, the schooner Sylphide on 10 March 1864, and the Mexican schooner Juanita on 11 April 1864. However, Juanita grounded on the 13 April and the Confederates recaptured her with the loss of her Union prize crew. This incident was partially offset by Virginia′s capture of the Mexican schooner Alma on the 19 March 1864 and the seizure and destruction of the sloop Rosina on 20 March 1864. Virginia′s last captures off San Luis Pass included the schooner Experiment, which she took on 3 May 1864 and subsequently destroyed, and 94 stacked bales of cotton picked up ashore on the 7 and 8 May 1864. Virginia returned to New Orleans in mid-May 1864 for badly needed repairs to her boilers. She remained at New Orleans until 5 December 1864, when she departed for service in the blockade off Galveston. There she captured the schooner Belle on 27 December 1864. She also discovered the British sidewheel steamer Acadia wrecked on the coast of Texas about 6 miles 9 10 km) east-northeast of Velasco on 5–6 February 1865 and shelled her, but was unable to launch a boat crew to board and burn her because of rough seas. Post-war After the war ended in April 1865, Virginia departed the Texas coast on 17 July 1865 for Philadelphia, Pennsylvania. She was sold at public auction at New York City to Perry Brothers on