The slaves were allowed to either work independently and apply their earnings for their ransom, or to work for the master.
In either scenario—working independently for ransom or serving the master—the slaves had a means to potentially achieve their freedom.