The Hoshanos of Shabbos mention the virtues of Shabbos and praise those who prepare for it, honor it, and carefully observe its many halachos.
The Hoshanah of Kihoshatah Adam includes the following phrase: כְּהוֹשַׁעַת פְּקְדוּ יְרִיחוֹ שֶׁבַע לְהַקֵּף, צָרוּ עַד רִדְתָּהּ בְּשַׁבָּת לְתַקֵּף. כֵּן הוֹשַׁע נָא - As You saved those commanded at Yericho to encircle it seven times; they besieged it until its downfall on Shabbos, to strengthen them; so save us now.
Why is Yericho's downfall on Shabbos counted as a praise of Shabbos? On the contrary, the battle involved acts that would normally desecrate Shabbos. Although halachah permits such acts for a required war, how does a victory achieved on Shabbos demonstrate Shabbos's greatness? When we examine the pesukim in Sefer Yehoshua (6:3-15), we find that Yehoshua was commanded to bring about Yericho's downfall specifically on Shabbos. The Midrash indicates that the timing was not coincidental; Hashem intended Yericho to be conquered on Shabbos.
The explanation is that Yericho was the key to conquering Eretz Yisrael, and its conquest therefore required the power of Shabbos. The kedushah of Shabbos gave Klal Yisrael the strength to take possession of the holy land. We can now understand why Yericho's conquest on Shabbos expresses the greatness of Shabbos.