Abstinence
Abstinence is the action of refraining or restraining oneself from indulgence. It is voluntary self-denial. It is non-indulgence. It is different from the habit of being abstinent.
It is generally used for the action of keeping oneself back from drinking alcohol.