I think it was to convince people to reject gradual emancipation and demand the complete and immediate abolition of slavery.
A lot of them did return to their families, however the role of women in the factory was actually cemented in American and other cultures upon the war ending, so many women continued to work and even started careers. Cue second wave feminism.
It's <span>domestic opposition to the war.</span>