For an early departure, the practical standard is to complete the 12th's stoning and leave Mina before sunset. Hanafi commentaries discuss the separate effects of remaining past sunset versus leaving before the next dawn.
That elaboration comes from later Hanafi scholarship; this Al-Quduri sentence itself only says fa-idhā arāda an yataʿajjala al-nafr. Contemporary pilgrimage movement schedules also must be respected.