Regarding the conclusion of the Hallel, opinions are numerous: our teacher, the Beit Yosef, wrote that one says "Nishmat" and "Yishtabach" until "for from eternity to eternity You are G-d." Afterward, he says "Yehalelukha" and concludes with "King extolled with praises." The Tur wrote that "Yehalelukha" should be said after Hallel until the blessing, and afterward "Nishmat" and "Yishtabach," and he concludes with "Yishtabach"; the Tosafot wrote similarly ibid. We follow the practice of our teacher, the Beit Yosef. After the blessing, one recites "borei peri ha-gafen" over the fourth cup, because he interrupted with Hallel. Our teacher, the Beit Yosef, ruled without a blessing, but we do not practice accordingly, as I wrote in siman 474. He drinks while in hasabah, and if he did not perform hasabah, it has been explained in siman 472. He should drink all of it in order to recite the final blessing "al ha-gafen...". Afterward, he says the piyyutim according to the custom. There are those who do not drink until after the recitation of the piyyutim, and it is printed thus in the Haggadot. This is not correct, for the fourth cup must be drunk immediately after Hallel. (The Beit Yosef wrote: If he drank without hasabah—he must return and drink with hasabah. Then he must recite "borei peri ha-gafen" before it, because he diverted his mind from further drinking. Thus far his words. Above in siman 472, we brought opinions that he does not need to return and drink with hasabah, see there. The Rema wrote that Hallel may be said even not in the place of the meal, see there. Nevertheless, it is better to say it in the place of the meal, and to drink all the cups in one place.)
בעניין חתימת ההלל רבו הדעות: רבינו הבית יוסף כתב שאומר "נשמת" ו"ישתבח" עד "כי מעולם ועד עולם אתה אל". ויאמר אחר כך "יהללוך" וחותם "מלך מהולל בתשבחות". והטור כתב ד"יהללוך" יאמר אחר הלל עד הברכה, ואחר כך "נשמת" ו"ישתבח", וחותם ב"ישתבח"; וכן כתב התוספות שם. ואנחנו נוהגים כרבינו הבית יוסף. ואחר הברכה מברך "בורא פרי הגפן" על כוס רביעי, לפי שהפסיק בהלל. ורבינו הבית יוסף פסק בלא ברכה, ואין אנו נוהגין כן, כמו שכתבתי בסימן תע"ד. ושותה בהסיבה, ואם לא היסב נתבאר בסימן תע"ב. ושותיהו כולו כדי לברך ברכה אחרונה "על הגפן…". ואחר כך אומר הפיוטים כפי המנהג. ויש שאין שותים עד אחר אמירת הפיוטים, וכן נדפס בהגדות. ואינו נכון, כי הכוס הרביעי צריך לשתות תיכף אחר הלל. (הבית יוסף כתב: אם שתה בלא הסיבה – יחזור וישתה בהסיבה. ואז צריך לברך לפניו "בורא פרי הגפן", לפי שהסיח דעתו מלשתות עוד. עד כאן לשונו. ולעיל בסימן תע"ב הבאנו דעות שאינו צריך לחזור ולשתות בהסיבה, עיין שם. וכתב הרמ"א דהלל יכול לומר אף שלא במקום סעודה, עיין שם. ומכל מקום טוב יותר לאומרו במקום הסעודה, ולשתות כל הכוסות במקום אחד.)