refrainment

noun
  1. the act of restraining oneself from doing something; abstinence
  2. Usage: formal

Examples