abstinence
The practice of refraining from something you want or enjoy, especially alcohol, sex, food or a drug. The broad, neutral word.
Tell
going without, the craving left unnamed
Best when
You mean deliberately going without, and you do not need to say what is given up, why or for how long.
Example
“He kept a year of abstinence from alcohol.”
Branches
keeping off alcohol
- sobriety clear of drink and of frivolity
- teetotalism never a drop, as a pledge
- temperance measure kept as a lasting virtue
keeping from sex
as a lasting way of life
by self-control
- continence the body or its urges held in check
going without food
for health or faith
- fasting reason and length left open
as a protest
- hunger strike refusing food as protest
staying off a drug or habit
- cold turkey quitting all at once
doing without by choice
for discipline or faith
- asceticism rigorous self-denial as a way of life
- self-denial refusing oneself what one wants
giving something up
- renunciation any giving up, formal or personal
holding back from an act
- abstention declines to cast a vote
- forbearance patient restraint under provocation