Bob Dole resigned his Senate seat to run for President in 1996, saying he wanted to devote “full time” to his candidacy and that Kansas needed someone else to represent them. Got him zero credit that I could detect at the time.
... and while it’s frequently the case that a Democrat will run for his congressional seat and the presidency simultaneously, which I can’t understand at all.