Oh, sure, but afterwards, the federal government wasn't able to impose its will particularly effectively. It's really hard to see reconstruction as anything but a failure.
I don't disagree however my posts were in context to the OP's assertion of "what would US of A do with a rogue Texas? nothing." And clearly the US did something. Also as disappointing as Reconstruction was it was in fact responsible for creation of the 13th, 14th and 15th amendments to the U.S. Constitution aka the "the Reconstruction Amendments."[1] The important of which can not be overstated. Surely those should be factored in to any judgement of "failure", no?
Again, though, the 15th in particular just wasn't enforced for about a century in the states concerned. The civil war probably provided impetus to pass these very important amendments, and that, as you say, shouldn't be understated, but they weren't particularly effective in a reasonable timescale. Going back to the original point, more or less the entire south were rogue states to a much greater degree than Hungary, for a very long time.