He’s getting really hungry, so he left the trail to go look for some food he see’s elves having dinner so he goes over there and crashes their party so he could get himself food because he is a Hobbit and hobbits get really hungry.
Once he crashes their party, he runs into the woods, but he didn't know he was running somewhere that he didn't know about and he ran straight into a spider web. Once he finally got out of the spider web he ran and got even more lost in a place called woodland. Just after he got lost in woodland Bilbo was still hungry, so he put on his ring that made him invisible so he could steal more food because he was still hungry because he is a dwarf and dwarves eat a lot because that is their thing later on in the book in chapter 10 the barrels that they escaped in are the half drowned dwarves, but Bilbo helps the dwarves at night time so he won't be seen so at night he opens the barrels and lets all the half drowned dwarves out so they would not die in the barrels they were hiding
in. In chapter 13 they are hiding outside of the dragon door [Samsung] and they know that Samsung is in there somewhere, but it is really dark so they have to be careful. Once they finally find where all the gold is hidden at they are relieved and happy and they take something and that something is a Golden cup. And that is how Bilbo Baggins turned from a Hobbit to a Hero.