The wizard Gandalf disapeared in chapter 2 of "The Hobbit", because he 'went off to scout the lands ahead', and he was detained because he met some of his elf friends on the way, which warned him of trolls in the area, prompting him to return to check on Thorin & Co.
hope this helps