Kili and Fili, who were by now back on their feet as they had been one of the first of the group to be freed, quickly climbed up and helped Bilbo down from where he was stuck while Gandalf and Thorin freed the other dwarves.