"Let Shabbos be your Rebbe."
Excerpt from Shabbos Secrets:
The Chidushei HaRim compared the Shabbos to a chassidic rebbe. A chassidic rebbe's study is guarded by a gabbai who selects the people who are allowed to come in to see the rebbe. The same is true with Shabbos. Not everyone is admitted to partake of the kedusha of Shabbos. So what should you do? You should stand at the door and pray for the door of kedusha of Shabbos to open.
A chassid once asked the Sanzer Rebbe, "How should I conduct myself when I am on the road, far away from the Rebbe?"
"Let the Gemara be your rav, and let Shabbos be your rebbe," replied the Rebbe. The rav answers halachic questions, and the rebbe, the holy Shabbos day, gives advice and chizul on spiritual matters.
(Kerem Shlomo, 1938)