They held each other for a while to allow Hermione to gradually calm down, before they decided it’d be best that they all tried and get some sleep. Ron was always the first to fall asleep, followed by Harry.