The story ends with the words of the tofu seller that 'Sensei (indicates Sorai, literally, "teacher") cut his own belly for me" (means "paid out of his own pocket for me") associating Ako Roshi's Seppuku (suicide by disembowelment) and Sorai's gift.
浪士の切腹と徂徠の贈り物をかけて「先生はあっしのために自腹をきって下さった」と豆腐屋の言葉でオチになる。