Yes it was. That's why many confederates had their land and property seized, and their slaves freed by the confiscation acts.