Kitzur Likutei Moharan I, 31:13
Holy Shabbat is the aspect of faith and of the holiness of the covenant, through which one merits love, yearning and good longings, through which holy souls are made. Therefore at the beginning of Shabbat a holy yearning comes to a person, and he remembers the loss of the additional soul on the weekday, as our Sages, of blessed memory, said: "Once it has ceased, woe, the soul is lost" (that is, as we say, "And the Children of Israel shall keep" etc., "Shabbat, and He was refreshed [vayinafash]"). They remember that at the departure of holy Shabbat they lose the soul, and they begin to yearn after it, and from this itself the additional soul of Shabbat comes into being. For the main coming into being of holy souls is through good longings, as mentioned above.
View original Hebrew
וְשַׁבַּת קדֶשׁ הִיא בְּחִינַת אֱמוּנָה וּקְדֻשַּׁת הַבְּרִית שֶׁעַל יְדֵי זֶה זוֹכִין לְאַהֲבָה וְהִשְׁתּוֹקְקוּת וְכִסּוּפִים טוֹבִים שֶׁעַל יְדֵי זֶה נַעֲשִׂין נְפָשׁוֹת קְדוֹשׁוֹת. וְעַל כֵּן בִּתְחִלַּת שַׁבָּת בָּא הִשְׁתּוֹקְקוּת דִּקְדֻשָּׁה לָאָדָם וְזוֹכֶר אֶת עַצְמוֹ מֵאֲבֵדַת הַנֶּפֶשׁ יְתֵרָה בְּחֹל כְּמוֹ שֶׁאָמְרוּ חֲכָמֵינוּ זִכְרוֹנָם לִבְרָכָה 'כֵּיוָן שֶׁשָּׁבַת וַי אָבְדָה נֶפֶשׁ' (הַיְנוּ שֶׁאוֹמְרִים וְשָׁמְרוּ בְּנֵי יִשְׂרָאֵל וְגוֹ' שָׁבַת וַיִּנָּפַשׁ). וְזוֹכְרִים אֶת עַצְמָם שֶׁבְּמוֹצָאֵי שַׁבַּת קדֶשׁ אוֹבְדִים הַנֶּפֶשׁ וּמַתְחִילִין לְהִתְגַּעְגֵּעַ אַחֲרֶיהָ וּמִזֶּה בְּעַצְמוֹ נִתְהַוֶּה הַנֶּפֶשׁ הַיְּתֵרָה שֶׁל שַׁבָּת, כִּי עִקַּר הִתְהַוּוּת הַנְּפָשׁוֹת דִּקְדֻשָּׁה הוּא עַל יְדֵי כִּסּוּפִים טוֹבִים כַּנַּ"לRead this passage within Part I · Torah 31, in its full context