In The Hobbit, before leaving the company at Mirkwood to investigate Dol Guldur, Gandalf says:
"Be careful! And I shall be back in due time."
It is a brief, urgent warning underscoring the peril ahead and his promise to return—which he does, as Gandalf the White.