On weekdays, this prayer ends with the words Shomer Amo Yisrael L'Ad. This is seen as appropriate for weekdays, when men go in and out in their weekday pursuits, and come in need of divine protection.
On Shabbat and Yom Tov, a longer version of this blessing is recited. The blessing is ended with the words Who spreads the shelter of peace upon us, upon all of his people Israel, and upon Jerusalem. The words And spread over us the shelter of Your peace that are normally recited earlier in the paragraph are repeated prior to the closing. This is a reflection of the peace that comes along with these special days, and that putting Jerusalem above everything else is important.
Baruch ata ADONAI, haporeis sukat shalom aleinu,
V'al kol amo Yisrael v'al Y'rushalayim.
Lay us down, LORD God, in peace, and raise us up again, our King, to [new] life.
Spread over us Your tabernacle of peace,
And guide us with Your good counsel.
Save us for Your name's sake.
Shield us from every enemy, plague, sword, famine, and sorrow.
Remove the adversary from before and behind us.
Shelter us in the shadow of Your wings,
Guard (our going out and our coming in, and grant us life) and peace, now and always.
Blessed are You, LORD, who spreads Your tabernacle of peace over us,
And over all His people Israel and over Jerusalem.
There may be slight differences, depending which nusach (regional liturgical rite) one follows.