In the grand sweep of history, that was a blink of an eye.
And it is arguable that the British held the Indians in de facto slavery for another century plus after they “ended” slavery.
Not so much. The British always preferred to rule through local leaders, and allow for local customs. Although they did force Hindus to end the custom of burning widows on their dead husband's funeral pyre.