Original: Most Whig party leaders thereupon quit politics (as Lincoln did temporarily) or changed parties.
Simplified: Its leaders quit politics (as Lincoln did temporarily) or changed parties.