"Uprooted"? Uprooted is not the same thing as "abolishing" slavery.
Again, nothing in the Qur'an say that Islam has abolished slavery. Slavery is still permissible in the Qur'an, whether it be buying, selling or taking slave from wars.
Slavery has been operating in many ancient and medieval civilisations, including Muhammad's own time.
And manumission or emancipation (freeing a slave or slaves) is not uncommon, and have occurred long before Muhammad's time.
Muhammad himself has owned slaves before, and had first choice of who to take as slaves, and he would take the most beautiful captive as slave. Just because he released.
And Muhammad permitted women and children to be sold in slave market after the Banu Qurayza had surrendered, while the men that didn't covert to Islam were beheaded (as little as 600, or as many 900 were beheaded, depending on the sources). Muhammad was there, but he did nothing to stop this from happening.