Abstain: to withhold oneself; to refrain from voluntarily; to refrain from indulgence.

I attempted to abstain from chocolate and coffee once.  Ah… to be young and foolish again.

Abstain comes from Latin ab (away) and tenere (to hold).