Semen coming out after urinating and making ghusal

Q: Can you please check if I have understood this properly: A man ejaculated during intercourse, he urinated and then did ghusl then more semen came out without desire, before taking 40 steps, urinating or sleeping will he require new ghusl? I read that he would not need new ghusl but this is what I was taught:

A man ejaculated during intercourse, he urinated and then did ghusl he took 40 steps, urinated or slept then more semen came out without desire. I was taught if it happens like this then no ghusl is required. Are both correct or not?

A: After passing urine if he made ghusal, and thereafter semen had come out, he will not have to repeat the ghusal.