The "Book of Immortals" describes how to avoid ejaculation and thus strengthen the mind.
During intercourse, when the man is on the brink of ecstasy, he should quickly grasp the base of his Stalk of Jade with the index finger and second finger of the left hand between the scrotum and the anus, and squeeze quite hard. Then exhale deeply, and grind the teeth.
The semen will, in this way, retreat from the Stalk of Jade and mount through the spinal column to the brain.