Republicans would have welcomed him into a Cabinet job.