Rock, Paper, Shotgun points out an interesting list compiled by veteran developer Simon Roth from Frozen Synapse developer Mode 7. The list shows companies that no longer collect any kinds of royalties from games they once had a hand in making. The point of it is to show what happens when a publisher buys out a developer and then kills that developer off.
This applies to any scenario you can think of too. For example, if one of the games on this list is re-released on Steam, GamersGate or Good Old Games, the developers that originally made them still don't see a dime of that money. The moral of the story is that it's probably a good idea to stay independent if you are a developer and to retain the rights to your game when you do have to sign a deal with the "devil."
You can check the whole thing out here, but some examples including Looking Glass Studios, Eidos, Pandemic Studios, and my favorite developer Mythos Games (whose founders were responsible for the X-Com series).
Source: Rock, Paper, Shotgun