Has a US President ever ran for the office of POTUS once and also only served that one 4 year term? If so, why?

by AKnightwhoONLYsaysNI
AKnightwhoONLYsaysNI

So Polk and Hayes would be the only 2 that fits my question. Thanks!