Slavery died out in Brazil when a couple of Brazilian states banned it. Slaves in the other states then ran away en masse and the enforcement costs exceeded the economic utility. The whole system rapidly collapsed - as would have happened in the seceding states had Lincoln not started a war to impose federal government rule on them. None other than Lincoln pointed out this is what would have happened to slavery in those states without the benefits and protections of the Fugitive Slave Clause in the US Constitution.
'Banned it' as in state governments ordered it ended? Not 'died out' naturally?
Slaves in the other states then ran away en masse and the enforcement costs exceeded the economic utility.
And it was ended completely on May 13, 1888 when the Brazilian government ordered the 700,000 remaining slaves to be free. Government ordered it ended; it didn't 'die out'.
...as would have happened in the seceding states had Lincoln not started a war to impose federal government rule on them.
Your imagination is almost as great as your compatriot, DiogenesLamp. There is absolutely no evidence whatsoever that the Southern leaders thought that slavery was dying out in 1861.