After ejaculation occurs, the penis shrinks, and the knot contracts. Eventually, the dogs’ butts get off each other. When the dog has got used to the situation, you can speed up the process.