To undermine means to weaken or damage something gradually or secretly. In the context of the failure of Reconstruction, various forces and actions systematically undermined the achievements and goals of this period, ultimately leading to the rollback of advancements made for African Americans and the South's reintegration into the Union.