An agent that prevents discharge of urine. Involuntary discharge of urine is a condition known as enuresis.