In November 1862, Trapier was given command of the Fourth Military District of South Carolina, headquartered in Georgetown. This district encompassed the area from the North Carolina line to the Santee River. Trapier strengthened the defense of this district by placing troops in coastal fortifications, notably Battery White, which guarded Winyah Bay.