Sam: It's just something Gandalf said.
Frodo: What did he say?
Sam: Don't you lose him, Samwise Gamgee. And I don't mean to.
Frodo: Sam, we're still in the Shire. What could possibly happen?
Sam loses sight of Frodo and starts calling him frantically. When Frodo doubles back, they discuss it.