Defeat in a high-profile election doesn't always end a candidate's political career, but there are exceptions.