Did the abolishment of slavery in the United States directly lead to any sort of economic depression? From one perspective they were eliminating what the article says was 16% of household wealth at the time, compared to 10 trillion dollars today, so you might expect a corresponding hit to the economy, but whatever productive capacity there was in the form of the slaves labor still existed, more or less, after they were freed. So to non-slave owners it might not effect them at all economically (maybe it might help them in some way, perhaps slavery drags down the market value of labor?).
This, I think, is different from the question of oil. When you abolish the use of oil the oil doesn't go on to produce on its own accord. Any economic gain you once had from oil would presumably vanish completely. And it wouldn't just be the oil owners that lose out, I'm pretty sure I have more wealth because of the economies use of oil even though I don't own any shares of oil companies.