On January 1, 1862, Confederate general Stonewall Jackson led his men from Winchester to Bath in an attempt to disturb traffic on the Baltimore and Ohio Railroad and the Chesapeake and Ohio Canal. Jackson's men reached the Potomac River opposite the garrisoned town of Hancock, Maryland on January 5, after a skirmish with Union soldiers. Jackson's artillery opened fire on the town from Orrick's Hill but it resulted in only minor damage. Union garrison commander Brig. Gen. Frederick W. Lander refused to surrender to Jackson, who continued the bombardment for two days while unsuccessfully searching for a safe river crossing. On January 7, the Confederate soldiers withdrew and set out for Romney, West Virginia.