Burnside had succeeded in deceiving Frazer, leading him to believe that the opposing Federals were much stronger than they appeared. Frazer thought his Confederates to be surrounded, outnumbered, and lacking enough provisions needed for a prolonged siege, and he unconditionally surrendered his garrison. The Confederate defeats at Vicksburg and Gettysburg earlier in July may also have affected Frazer's decision.