The only thing that slavery had to do with that war was the issue of slavery in the new territories.
The north didn't want slaves in the new territories because the whites didn't want to have to compete with slaves over wages.
And the north didn't want blacks there to begin with.
the issue of slavery started during the war for independence, northerners wanted it eliminated and southerners would not fight for independence without slavery being recognized
it was an issue that both the north and south knew would have to revisited eventually
ps there were anti-slavery societies before the revolutionary war and they continued to grow after the war