Yes,yes. But slavery would be naturally abolished in the next few years. It was used as an excuse in the war of northern aggression. And also most people did not have slaves. It was around 30%. For example Robert E. Lee had released his slaves years before the war. Patrick Cleburne wanted to abolish slavery but still fought for the South and his new home (He was Irish). There were also a lot of black* people that fought for the South.
*Excuse this term.