 On 24 September 1861, he was commissioned major and appointed quartermaster on the staff of Brigadier General Joseph R. Anderson.He initially oversaw Fort St. Philip located 15 miles south of Wilmington, North Carolina, which was on July 1, 1863 renamed Fort Anderson.In 1862, Lamb was elected as the colonel of the 36th North Carolina Regiment.