If residual semen emerges after a person made ghusl before urinating or sleeping, Abu Hanifa and Muhammad require a renewed ghusl, whereas Abu Yusuf does not require it merely for the later non-desirous discharge.
Where urination or sleep intervened before that later discharge, the cited discussion does not require repeating ghusl for this residual occurrence.