At that point in time, everyone shows averse to mete out Salim, so, it is mandatory to the Emperor to do so but he collapses due to the affection of his son. Being cognizant of Anarkali entombment, Salim rushes to save her when Gulnar backstabs him, by the time he reaches there, Anarkali is already buried.
At that moment, everyone opposed Salim's punishment, so the Emperor was compelled to carry it out but he fainted due to his son's affection. Aware of Anarkali's burial, Salim hastened to rescue her when Gulnar betrayed him, by the time he arrived, Anarkali had already been interred.