Even then, it was only legally abolished, some plantations never had any Union soldiers come, so they never freed their slaves, just kept them in “sharecropping” agreements but they weren’t allowed to leave. Actual share cropping was also horrific and also sometimes had slavelike conditions.
Some of these fake “sharecropping” agreements stayed in place till the mid 1900s.
Here’s a very excellent video by Knowing Better on Neoslavery.