The obligatory causes covered here are discharge of semen under the relevant legal conditions; intercourse meeting its legal threshold, even without ejaculation; ending menstruation; and ending postnatal bleeding.
These are legally separate causes; one need not coincide with another.