I think public service is a calling and you do it as long as the things that brought you into the office can continue getting you up in the morning and as long as there's still work to get done.
A great source of calamity lies in regret and anticipation therefore a person is wise who thinks of the present alone regardless of the past or future.