I doubt the #2 coin based on market cap will vanish any time soon. There would have to be a monumental failure for such a thing to occur. Even then, it is likely to have code forked and altered from a state from before, giving it continued life.
I know, this question is ridiculous. If this somehow happened the entire crypto market and stock market would be doomed and the world would have to be ending.