✦ ❖ ✦
DAAT · LEVEL 2 — LAMDAN

Shulchan Aruch · Orach Chayim

Hilchos Techumin — in-depth study
סימן ת״ה
דין היוצא חוץ לתחום
עיון, פלפול, שיטות הראשונים והאחרונים
⚡ For lamdanim and talmidei chachamim ⚡
✦ ❖ ✦

In-depth pilpul

Talmudic sources,
shitos of the Rishonim and Acharonim on one who goes out of the techum: the four amos of one who went out, the partition of people, one who was taken out and brought back, the pen, the enclosure and the walled city, the ship, returning to his own city, and produce taken out of the techum

Subject:
Shulchan Aruch Orach Chayim siman ת״ה — 9 se'ifim in the Shulchan Aruch (Mechaber), with two glosses of the Rema introduced by הגה, in se'ifim ה and ז; 9 se'ifim in the Shulchan Aruch HaRav (see Level 4)
with, among others, the sources: Mishnah and Gemara Eruvin, Tur, Beis Yosef, מג״א, ט״ז, Mishnah Berurah, Biur Halachah, Shulchan Aruch HaRav

Mishnah Berurah: 52 se‘ifim katanim (ס״ק)

Editing and study:
Rav Yossef Haim Samama · DAAT

📑 Table of contents

  1. The text of the Shulchan Aruch — 9 se'ifim
  2. Out of the techum, one foot outside, Shabbos beginning outside — Eruvin 52b; the four amos (se'ifim א-ג)
  3. The partition of people — Eruvin 43b (seif ד)
  4. One who was taken out, and one who was brought back — Eruvin 41b; the Rema's gloss on the ship that returned to port (seif ה)
  5. The pen, the enclosure, the cave and the other city — Eruvin 42b; going out intentionally, and the wall (seif ו)
  6. The ship — Eruvin 42b-43a; the broken walls; “one hollows out to complete” (seif ז)
  7. Went out intentionally and was brought back; brought back to his own city (seif ח)
  8. Produce taken out of the techum — Eruvin 41b (seif ט)
  9. Summary of the shitos and halachic conclusion

📜 The text of the Shulchan Aruch — 9 se'ifim

סעיף א. דין היוצא חוץ לתחום. ובו ט סעיפים:
מי שיצא חוץ לתחום אפילו אמה אחת לא יכנס להיות כבני העיר ואין לו אלא ארבע אמות מעמידת רגליו ולחוץ:

summary: the heading of the siman, then the seif: one who went out of the techum, even by a single amah, shall not come back in to be like the people of the city; he has only four amos, from where his feet stand and outward. [On the direction of these four amos, opinions differ; on one who went out under duress, the Mishnah Berurah (ס״ק ב) reports the opinion of the Acharonim: section 1.]

סעיף ב. היתה רגלו אחת תוך התחום ורגלו אחת חוץ לתחום יכנס:

summary: if one of his feet was inside the techum and the other outside the techum, he shall come in. [Section 1.]

סעיף ג. מי שקידש עליו היום והוא חוץ לתחום העיר אפילו אמה אחת לא יכנס להיות כבני העיר ואינו מהלך אלא אלפי' אמה לכל רוח ממקום שקידש עליו היום:

summary: one on whom the day became sanctified while he was outside the techum of the city, even by a single amah, shall not come in to be like the people of the city; he walks only two thousand amos in every direction from the place where the day became sanctified on him. [Section 1.]

סעיף ד. מי שיצא חוץ לתחום שלא לדעת מותר לעשות לו מחיצה של בני אדם שעירבו לאותו רוח ויכולי' לילך שם ויעשו סביביו כמו מחיצה ויכנס ביניה' והוא שלא ידעו אותם שנעשית בהם המחיצה שלשם כך נקראו אבל אם יצא לדעת אסור:

summary: one who went out of the techum unintentionally: it is permitted to make for him a partition of people who made an eruv in that direction and can go there; they stand around him like a partition, and he comes in among them — provided that those who form the partition do not know that this is why they were called. But if he went out intentionally, it is forbidden. [Section 2.]

סעיף ה. מי שהוציאוהו חוץ לתחו' עכו״ם או רוח רעה או שאר כל אונס או ששגג ויצא אין לו אלא ארבע אמות החזירוהו לתוך התחו' כאלו לא יצא והרי כל העיר כארבע אמות כבתחלה וחוצה לה אלפי' אמה לכל רוח אבל אם חוזר לדעת אין לו אלא ד' אמות: הגה וכן אם נכנס לספינה ויצאה הספינה חוץ לתחום וחזרה לאחוריה לנמל שהפליגה משם הרי הוא כאלו לא יצא דהוה ליה כמו שהוציאוהו עכו״ם והחזירוהו (א״ז):

summary: one whom non-Jews, an evil spirit or any other duress took out of the techum, or who went out by mistake, has only four amos. If he was brought back inside the techum, it is as if he had not gone out: the whole city is like four amos, as at the beginning, and outside it, two thousand amos in every direction. But if he comes back intentionally, he has only four amos. Gloss of the Rema (introduced by הגה): likewise, if he entered a ship, and the ship went out of the techum and returned backwards to the port from which it had set sail, it is as if he had not gone out, for it is as if non-Jews had taken him out and brought him back (Or Zarua). [Section 3.]

סעיף ו. נתנוהו עכו״ם חוץ לתחום בדיר או בסהר ומערה או בעיר אחרת מוקפת חומה לדירה או שנאנס בשאר אונס או ששגג ויצא חוץ לתחו' ונכנס לאחד מאלו ונזכר והוא בתוכו מהלך את כולו אבל אם יצא חוץ לתחומו לדעת אע״פ שהוא בתוך אחד מאלו אין לו אלא ארבע אמות:

summary: if non-Jews placed him outside the techum in a pen (dir) or an enclosure (sahar) and a cave, or in another city surrounded by a wall for dwelling; or if he suffered another duress, or went out by mistake outside the techum, and entered one of these places and remembered while he was inside: he walks in the whole place. But if he went out of his techum intentionally, although he is inside one of these places, he has only four amos. [On one who went out intentionally, and on the requirement of the wall, opinions differ: section 4.]

סעיף ז. מי שהפליגה ספינתו בים מהלך את כולה הואיל ושבת באויר מחיצו' ואם נפחתו דפני ספינה בשבת אם היא מהלכת מהלך את כולה ואם היא עומדת אינו מהלך בה אלא ארבע אמות: הגה ואם באמצע יש לו מחיצות עשרה ובראשו אין לו אזלינן בתר אמצעי ואפילו אין לו כלל רק יש בו לחקוק עשרה דאמרינן חוקקין להשלים (א״ז):

summary: one whose ship set sail at sea walks in the whole ship, since he made his shevisah within the space of partitions. If the walls of the ship were broken on Shabbos: if it is moving, he walks in the whole ship; if it is standing still, he walks in it only four amos. Gloss of the Rema (introduced by הגה): if the ship has, in its middle, partitions of ten [tefachim], and does not have them at its end, we follow the middle; and even if it has none at all, but ten can be hollowed out in it, for we say: one hollows out to complete (Or Zarua). [On the reading of the words “since he made his shevisah within the space of partitions”, on the ship standing above ten tefachim, and on the basis of “one hollows out to complete”, opinions differ: section 5.]

סעיף ח. יצא לדעת והחזירוהו עכו״ם אין לו אלא ד' אמות ומיהו אם החזירוהו לעירו (המוקפת מחיצות לדירה) (הרא״ש פרק מי שהוציאוהו ורבינו ירוחם חי״א וא״ז) כולה כד' אמות ואפי' יצא לדעת וחזר לדעת (וע״ל דין סתם עיירות סימן ת״א):

summary: if he went out intentionally and non-Jews brought him back, he has only four amos. However, if they brought him back to his own city — in small print, in parentheses, without the word הגה: (surrounded by partitions for dwelling), then the references —, it is entirely like four amos, even if he went out intentionally and came back intentionally; in small print: (and see above the law of unspecified towns, siman 401). [On the condition of the partitions, opinions differ: section 6.]

סעיף ט. פירות שהוציא חוץ לתחום והחזירם אפי' במזיד לא הפסידו מקומם שכל העיר להם כד״א וחוצה לה אלפים אמה לכל רוח כבתחלה אם הוא יו״ט ואם הוא שבת מותרין באכילה במקומם אפי' לאותו ישראל שהחזירם לצרכו במזיד מ״ט אנוסים הם וכל זמן שלא הוחזרו והם חוץ למקומם אם הוציאן בשוגג מותרים לאכלם ואסור לטלטלם חוץ לד' אמות ואם הוציאם במזיד אסור לאכלם אפי' מי שלא הוציאם ויש מתירים למי שלא הוציאם:

summary: produce that he took out of the techum and brought back, even intentionally, has not lost its place: the whole city is like four amos for it, and outside it, two thousand amos in every direction, as at the beginning — if it is Yom Tov; if it is Shabbos, it is permitted to be eaten in its place, even for that Jew who brought it back for his need, intentionally; what is the reason? It is under duress. As long as it has not been brought back and is outside its place: if he took it out by mistake, it is permitted to eat it, and forbidden to move it beyond four amos; if he took it out intentionally, it is forbidden to eat it, even for one who did not take it out; and some permit it for one who did not take it out. [On “that Jew who brought it back for his need”, and on produce taken out intentionally and then brought into a city surrounded by partitions, the commentators differ; on “some permit”, the Mishnah Berurah writes that the law follows the first opinion (ס״ק נ״ב): section 7.]

The following sections cite, for each seif, its source in the Mishnah and the Gemara, then some of the commentators; the page does not record all the sources or all the points on which opinions differ.

1. Out of the techum, one foot outside, Shabbos beginning outside — Eruvin 52b; the four amos (se'ifim א-ג)

The Mishnah, at the end of the chapter “Mi She'hotziuhu” (Eruvin 52b): « מִי שֶׁיָּצָא חוּץ לַתְּחוּם, אֲפִלּוּ אַמָּה אַחַת, לֹא יִכָּנֵס. רַבִּי אֱלִיעֶזֶר אוֹמֵר, שְׁתַּיִם, יִכָּנֵס, שָׁלֹשׁ, לֹא יִכָּנֵס. מִי שֶׁהֶחְשִׁיךְ חוּץ לַתְּחוּם, אֲפִלּוּ אַמָּה אַחַת, לֹא יִכָּנֵס. רַבִּי שִׁמְעוֹן אוֹמֵר, אֲפִלּוּ חֲמֵשׁ עֶשְׂרֵה אַמּוֹת, יִכָּנֵס, שֶׁאֵין הַמָּשׁוֹחוֹת מְמַצִּין אֶת הַמִּדּוֹת, מִפְּנֵי הַטּוֹעִין » (משנה עירובין ד:י״א) — one who went out of the techum, even by a single amah, shall not come in. Rabbi Eliezer says: [having gone out by] two, he comes in; by three, he does not come in. One for whom night fell outside the techum, even by a single amah, shall not come in. Rabbi Shimon says: even by fifteen amos, he comes in, for the surveyors do not use up the measures, because of those who err.

The Beis Yosef — on the beginning of the siman in the Tur: « משנה בס״פ מי שהוציאוהו (עירובין נב:) ואע״ג דפליג ר״ש קי״ל כת״ק וכן פסק הרמב״ם בפכ״ז וכתב שם הרב המגיד שהרשב״א פסק כר״ש דאמר אפילו יצא ט״ו אמה יכנס לפי שאין המודדין מכוונין המדות וחוץ למקום הציון יש ט״ו אמה ונקטינן כהרמב״ם » (בית יוסף או״ח ת״ה) — [it is] a Mishnah at the end of the chapter “Mi She'hotziuhu” (Eruvin 52b); and although Rabbi Shimon disagrees, we hold like the first Tanna, and so ruled the Rambam in chapter 27; and the Rav HaMaggid wrote there that the Rashba ruled like Rabbi Shimon, who says: even if he went out by fifteen amos, he comes in, because the measurers do not make the measures exact, and beyond the place of the marker there are fifteen amos; and we hold [like] the Rambam.

For the foot that remained inside (seif ב), the Gemara: « אִיכָּא דְאָמְרִי, אָמַר רַבִּי חֲנִינָא: רַגְלוֹ אַחַת בְּתוֹךְ הַתְּחוּם וְרַגְלוֹ אַחַת חוּץ לַתְּחוּם — יִכָּנֵס, דִּכְתִיב: ״אִם תָּשִׁיב מִשַּׁבָּת רַגְלֶךָ״ — ״רַגְלֶיךָ״ קָרֵינַן. וְהַתַּנְיָא: לֹא יִכָּנֵס! הוּא דְּאָמַר כַּאֲחֵרִים, דְּתַנְיָא: לִמְקוֹם שֶׁרוּבּוֹ הוּא נִזְקָר » (עירובין נ״ב ע״ב) — some say: Rabbi Chanina said: one foot inside the techum and one foot outside the techum, he comes in, for it is written: “If you turn away your foot from Shabbos” — we read “your feet”. — But it is taught: he does not come in! — He says like the Acherim, for it is taught: [he is judged by] the place where most of him stands.

The Beis Yosef — on “one foot inside and one foot outside, he comes in”, in the Tur: « שם מימרא דרבי חנינא כלישנא בתרא » (בית יוסף או״ח ת״ה) — [its source is] there: a statement of Rabbi Chanina, according to the second version.

The four amos of seif א. The seif writes: « מעמידת רגליו ולחוץ » (שו״ע או״ח ת״ה:א) — from where his feet stand and outward. On the direction of these four amos, opinions differ; on one who went out under duress, the Mishnah Berurah reports the opinion of the Acharonim, and the Magen Avraham (ס״ק א) writes to be lenient where there was duress, and not for an optional matter, then refers to the Bach (siman 396) and to the Olas Shabbos, who followed him. Here are the texts; this page does not decide.

The Mishnah Berurah — on « מעמידת רגליו ולחוץ »: « אבל לצד פנים כלל לא דאף דבודאי לכו״ע יכול לברר הד״א שלו לכל צד שירצה שאני הכא כיון שהתחיל ללכת אל עבר זה נראה כבורר הד״א ממנו ולהלאה » (משנה ברורה ת״ה ס״ק ב) — but towards the inside, not at all; for although, according to all, he can certainly choose his four amos on any side he wishes, here it is different: since he began to walk in that direction, he appears to choose his four amos from there onward.
« והנה המחבר אזיל לטעמיה בסי׳ שצ״ו דאין לו רק ד״א אבל לפי מה שהביא הרמ״א שם בהג״ה בשם יש אומרים דיש לו ד׳ אמות לכל צד והכריעו שם האחרונים כדעה זו א״כ יכול לילך הד״א שלו אף לצד העיר דהיינו אם יצא אמה אחת יוכל לחזור לתוך התחום בשיעור שלש אמות » (משנה ברורה ת״ה ס״ק ב) — now the Mechaber follows [here] his view in siman 396, that he has only four amos; but according to what the Rema brought there, in his gloss, in the name of “some say”, that he has four amos on every side — and the Acharonim decided there according to this opinion —, he can therefore walk his four amos even towards the city: if he went out by one amah, he can come back inside the techum over a measure of three amos.
« ודע דכל זה אם יצא במזיד אבל אם יצא באונס או מחמת טרדתו שכח ויצא הסכימו האחרונים דכל שלא יצא מן התחום ארבע אמות מותר לו לחזור ולכנוס תוך העיר דבכגון זה אמרינן דכיון שיש לו רשות לחזור לתוך תחומו חשוב כאלו לא יצא כלל מן התחום והרי הוא כבני העיר וכ״ש אם יצא לדבר מצוה דמותר לו לחזור תוך תחומו ומשם לעיר כל שלא יצא מתוך התחום ארבע אמות » (משנה ברורה ת״ה ס״ק ב) — and know that all this is if he went out intentionally; but if he went out under duress, or because, preoccupied with his affairs, he forgot and went out, the Acharonim agreed that, as long as he has not gone four amos out of the techum, he is permitted to go back and enter the city; for in such a case we say that, since he has permission to go back inside his techum, he counts as if he had not gone out of the techum at all, and he is like the people of the city; and all the more so if he went out for a mitzvah: he is permitted to go back inside his techum, and from there to the city, as long as he has not gone four amos out of the techum.
The Magen Avraham — on « מעמידת רגליו ולחוץ »: « כיוון למה שהקשה הראב״ד דהא קי״ל הבלעת תחומין מילתא היא בין שיצא לדבר מצוה בין שיצא באונס (כמ״ש סי׳ ת״ז ס״ב) וזה ג״כ אנוס הוא בריחוק אמה ואמאי לא יכנס הרי ד״א שלו מובלעי׳ בתוך התחום ותי׳ המ״מ דכיון שהוא מהלך ורוצה לילך נראה כבורר אל עבר פניו ודוחק עכ״ל ולכן נ״ל להקל בזה אם היה אונס וכ״ד כל הפוסקים דוק ותשכח אבל לדבר הרשות דכ״ע לאו מילתא וכן כתב המאור ועבב״ח סי׳ שצ״ו וכמדומה שלא ראה דברי הראב״ד שמשמע כפי׳ המ״מ וכ״מ מלשון הרמב״ם והע״ש נמשך אחר הב״ח גם דברי הכ״מ שם צ״ע עסג״ד » (מגן אברהם ת״ה ס״ק א) — [with these words] he was addressing what the Raavad objected: we hold that the merging of techumin counts, whether he went out for a mitzvah or under duress (as written in siman 407, seif 2); and this one too is under duress, at a distance of one amah: why should he not come in? His four amos are merged into the techum! And the Maggid Mishneh answered that, since he is walking and wants to go on, he appears to choose ahead of him; and this is forced — end of quote. Therefore it seems to me that one should be lenient in this if there was duress, and such is the opinion of all the poskim, examine and you will find; but for an optional matter, according to all, [the merging] does not count; and so wrote the Maor. And see the Bach, siman 396; it seems that he did not see the words of the Raavad, from which [a meaning] like the explanation of the Maggid Mishneh emerges; and this emerges also from the wording of the Rambam; and the Olas Shabbos followed the Bach; the words of the Kesef Mishneh there also require examination; « עסג״ד » [abbreviation left as printed].
The Shulchan Aruch HaRav — in his seif 1: « וְאֵין לוֹ אֶלָּא ד׳ אַמּוֹת מֵעֲמִידַת רַגְלָיו לְכָל רוּחַ (שֶׁיִּרְצֶה), כְּמוֹ שֶׁנִּתְבָּאֵר בְּסִמָּן שצ״ו » (שו״ע הרב ת״ה:א) — and he has only four amos from where his feet stand, in every direction (that he wishes), as explained in siman 396.
« וְאַף עַל פִּי שֶׁתְּחוּם זֶה שֶׁל ד׳ אַמּוֹת שֶׁנָּתְנוּ לוֹ חֲכָמִים כְּשֶׁיָּצָא חוּץ לַתְּחוּם הוּא מֻבְלָע בְּתוֹךְ תְּחוּם אַלְפַּיִם שֶׁיָּצָא מִמֶּנּוּ, אֵין הַבְלָעַת תְּחוּמִים אֵלּוּ מוֹעֶלֶת לוֹמַר: כֵּיוָן שֶׁנִּכְנַס בִּרְשׁוּת בְּתוֹךְ תְּחוּם שֶׁיָּצָא מִמֶּנּוּ — שֶׁיִּהְיֶה כְּאִלּוּ לֹא יָצָא מִמֶּנּוּ כְּלָל, אֶלָּא אִם כֵּן יָצָא מִמֶּנּוּ בִּרְשׁוּת, כְּגוֹן לְהַצִּיל נְפָשׁוֹת, כְּמוֹ שֶׁיִּתְבָּאֵר בְּסִמָּן ת״ז. וְהוּא הַדִּין אִם יָצָא שֶׁלֹּא לְדַעְתּוֹ, כְּגוֹן שֶׁהוֹצִיאוּהוּ נָכְרִים אוֹ אֵיזֶה אֹנֶס אַחֵר — מוֹעֶלֶת הַבְלָעַת תְּחוּמִין אֵלּוּ שֶׁיִּהְיֶה כְּאִלּוּ לֹא יָצָא מִתְּחוּמוֹ מֵעוֹלָם, וְיֵשׁ לוֹ אַלְפַּיִם לְכָל רוּחַ מֵהַמָּקוֹם שֶׁשָּׁבַת בּוֹ » (שו״ע הרב ת״ה:א) — and although this techum of four amos, which the Sages gave him when he went out of the techum, is merged into the techum of two thousand [amos] from which he went out, the merging of these techumin does not avail to say: since he entered with permission into the techum from which he went out, it shall be as if he had not gone out of it at all — unless he went out of it with permission, for example to save lives, as will be explained in siman 407. And the same applies if he went out unintentionally, for example if non-Jews took him out, or some other duress: the merging of these techumin avails, so that it is as if he had never gone out of his techum, and he has two thousand [amos] in every direction from the place where he made his shevisah. See Level 4, points א and ב.
The Mishnah Berurah — on “he shall come in” of seif ב, following what it wrote in ס״ק ב: « דבתר רובו שדינן וכיון דלא הוי אלא רגלו אחת חוץ לתחום ועדיין רובו בתוך התחום הלכך יכנס. ולפי מה שכתבנו לעיל דיש לו שיעור ד״א חוץ לתחום גם בזה יהיה הדין אם יצא ע״י אונס ורגלו אחת הוא עדיין בתוך ד״א של התחום חשיב כאלו עדיין לא יצא [א״ר וש״א] » (משנה ברורה ת״ה ס״ק ג) — for we go by the majority of him; and since only one foot is outside the techum, and the majority of him is still inside the techum, therefore he comes in. And according to what we wrote above, that he has a measure of four amos outside the techum, here too the law will be: if he went out under duress, and one of his feet is still within the four amos of the techum, he counts as if he had not yet gone out [Eliyah Rabbah and other Acharonim]. [On what it wrote in ס״ק ב: above.]
The Mishnah Berurah — on “to be like the people of the city” of seif ג: « ר״ל אף דמותר לו לכנוס לתוך העיר במקצת דכיון ששבת רק אמה אחת חוץ לאלפים הסמוכים לעיר יש לו לכנוס ג׳ אמות בתוך העיר דשיעור אלפים מודדין חוץ מארבע אמות ששבת בהן כדלעיל בסי׳ שצ״ז מ״מ אינו נחשב עי״ז להיות כבני העיר שיהיה מותר לו לילך בתוכה ואלפים סביבה כיון דעכ״פ בעת שקידש היום היה חוץ לתחום העיר [הגר״א] » (משנה ברורה ת״ה ס״ק ה) — that is: although he is permitted to enter the city in part — since he made his shevisah only one amah outside the two thousand [amos] adjacent to the city, he can enter three amos into the city, for the measure of two thousand is measured apart from the four amos where he made his shevisah, as above in siman 397 —, he does not thereby count as the people of the city, so that he would be permitted to walk in it and two thousand [amos] around it, since, in any case, at the time the day became sanctified, he was outside the techum of the city [Gra]. The Shulchan Aruch HaRav writes the three amos in parentheses, in his seif 3: see Level 4, point ד.

2. The partition of people — Eruvin 43b (seif ד)

The Gemara: « נְחֶמְיָה בְּרֵיהּ דְּרַב חֲנִילַאי מְשַׁכְתֵּיהּ שְׁמַעְתָּא, וּנְפַק חוּץ לַתְּחוּם. אֲמַר לֵיהּ רַב חִסְדָּא לְרַב נַחְמָן: נְחֶמְיָה תַּלְמִידְךָ שָׁרוּי בְּצַעַר. אָמַר לוֹ: עֲשֵׂה לוֹ מְחִיצָה שֶׁל בְּנֵי אָדָם, וְיִכָּנֵס » (עירובין מ״ג ע״ב) — Nechemyah, son of Rav Chanilai, was drawn along by his study, and went out of the techum. Rav Chisda said to Rav Nachman: Nechemyah, your student, is in distress. He said to him: make him a partition of people, and let him come in.

The Beis Yosef — on « אבל אם יצא לדעת אסור », which the Tur also writes: « הכי משמע שם דאמרי׳ נחמיה משכתיה שמעתא ומשמע דאי לאו דמשכתיה שמעתא לא היו מתירים לו ע״י מחיצה וכ״כ שם הרא״ש וגם מדין יצא לדע׳ והחזירוהו עכו״ם אין לו אלא ד״א שכתב רבינו בסמוך משמע הכי דלהא דמיא » (בית יוסף או״ח ת״ה) — this is what emerges from there, since it says: “Nechemyah was drawn along by his study”; it emerges that, had he not been drawn along by his study, they would not have permitted him [to come in] by a partition; and so wrote the Rosh there; and this emerges also from the law “went out intentionally and non-Jews brought him back, he has only four amos”, which our master [the Tur] writes shortly after, for [this case] resembles it.
The Mishnah Berurah — on “it is permitted”: « ר״ל שעושים לו תקנה שיחזור לתוך תחומו והוא דכיון שיצא אף שאין לו רק ד״א קי״ל דאם היו שם מחיצות מותר להלוך בכל רוחב המחיצות דכולה כארבע אמותיו חשיבא וכמש״כ לקמיה בס״ו ולפיכך כשעושין לו מחיצה של בני אדם סביביו עד תחומו נכנס עי״ז בתחומו וכיון שנכנס בתחומו בהיתר הרי הוא כאלו לא יצא וכדלקמיה בס״ה » (משנה ברורה ת״ה ס״ק ז) — that is, a remedy is made for him so that he can go back inside his techum; for, since he went out, although he has only four amos, we hold that, if there were partitions there, he is permitted to walk in the whole extent of the partitions, for all of it counts as his four amos, as written below in seif ו; therefore, when a partition of people is made around him up to his techum, he thereby enters his techum; and since he entered his techum in a permitted way, it is as if he had not gone out, as below in seif ה.
On « מחיצה של בני אדם »: « ואפי׳ אם היה אורך המחיצות יותר מאלפים מותר להלך את כולה » (משנה ברורה ת״ה ס״ק ח) — and even if the length of the partitions was more than two thousand [amos], he is permitted to walk in the whole [enclosure].
On « ויכנס ביניהם »: « היינו שיכנס ביניהם עד תוך תחומו וכיון שנכנס לתוך התחום מותר לילך לעירו אף בלא מחיצות וכנ״ל. ולפי מה שכתבנו לעיל סק״ב בשם הפוסקים אף אם לא הגיע המחיצות של בני אדם עד תוך התחום ממש אלא סמוך לתחום פחות מד״א ג״כ שרי דכיון דעכ״פ ד׳ אמותיו כלים בתוך תחומו מותר לכנס » (משנה ברורה ת״ה ס״ק ט) — that is, he enters among them until inside his techum; and since he entered inside the techum, he is permitted to go to his city even without partitions, as above. And according to what we wrote above, in ס״ק ב, in the name of the poskim, even if the partition of people did not actually reach inside the techum, but [came] close to the techum, within less than four amos, it is also permitted: since, in any case, his four amos end inside his techum, he is permitted to come in. [On ס״ק ב: section 1.]
On « והוא שלא ידעו אותם שנעשית בהם המחיצה שלשם כך נקראו » (שו״ע או״ח ת״ה:ד): « עיין בסי׳ שס״ב שנתבאר שם פרטי הדינים של מחיצות בני אדם » (משנה ברורה ת״ה ס״ק י) — see siman 362, where the details of the laws of partitions of people are explained.
On « לדעת אסור »: « שהרי אף אם הוא בתוך מחיצות גמורות אינו רשאי בכה״ג לילך יותר מד׳ אמות וכדלקמיה בס״ו וכ״ש במחיצות של בני אדם » (משנה ברורה ת״ה ס״ק י״א) — for even if he is inside complete partitions, he is not permitted, in such a case, to walk more than four amos, as below in seif ו; and all the more so within partitions of people.

The Shulchan Aruch HaRav, in his seif 4, writes the same law, and specifies there how far he enters among them, and that this applies even if the enclosed space exceeds two thousand amos: see Level 4, point ה.

3. One who was taken out, and one who was brought back — Eruvin 41b; the Rema's gloss on the ship that returned to port (seif ה)

The Mishnah, at the beginning of the chapter “Mi She'hotziuhu”: « מִי שֶׁהוֹצִיאוּהוּ גוֹיִם אוֹ רוּחַ רָעָה, אֵין לוֹ אֶלָּא אַרְבַּע אַמּוֹת. הֶחֱזִירוּהוּ, כְּאִלּוּ לֹא יָצָא » (משנה עירובין ד:א) — one whom non-Jews or an evil spirit took out has only four amos; if he was brought back, it is as if he had not gone out.

The Gemara: « אָמַר רַב נַחְמָן אָמַר שְׁמוּאֵל: יָצָא לְדַעַת — אֵין לוֹ אֶלָּא אַרְבַּע אַמּוֹת. פְּשִׁיטָא, הַשְׁתָּא מִי שֶׁהוֹצִיאוּהוּ נׇכְרִים אֵין לוֹ אֶלָּא אַרְבַּע אַמּוֹת, יָצָא לְדַעַת מִיבַּעְיָא?! אֶלָּא אֵימָא: חָזַר לְדַעַת — אֵין לוֹ אֶלָּא אַרְבַּע אַמּוֹת. הָא נָמֵי תְּנֵינָא: הֶחְזִירוּהוּ נׇכְרִים כְּאִילּוּ לֹא יָצָא. הֶחְזִירוּהוּ הוּא דִּכְאִילּוּ לֹא יָצָא, אֲבָל הוֹצִיאוּהוּ נׇכְרִים וְחָזַר לְדַעַת — אֵין לוֹ אֶלָּא אַרְבַּע אַמּוֹת! אֶלָּא אֵימָא, יָצָא לְדַעַת וְהֶחְזִירוּהוּ נׇכְרִים — אֵין לוֹ אֶלָּא אַרְבַּע אַמּוֹת. הָא נָמֵי תְּנֵינָא: הוֹצִיאוּהוּ וְהֶחְזִירוּהוּ כְּאִילּוּ לֹא יָצָא. הוֹצִיאוּהוּ וְהֶחְזִירוּהוּ — הוּא דִּכְאִילּוּ לֹא יָצָא, אֲבָל יָצָא לְדַעַת — לָא! מַהוּ דְּתֵימָא, לִצְדָדִין קָתָנֵי: מִי שֶׁהוֹצִיאוּהוּ נׇכְרִים וְחָזַר לְדַעַת — אֵין לוֹ אֶלָּא אַרְבַּע אַמּוֹת, אֲבָל יָצָא לְדַעַת וְהֶחְזִירוּהוּ נׇכְרִים — כְּאִילּוּ לֹא יָצָא, קָא מַשְׁמַע לַן » (עירובין מ״א ע״ב) — Rav Nachman said in the name of Shmuel: [one who] went out intentionally has only four amos. — That is obvious! If one whom non-Jews took out has only four amos, need it be said of one who went out intentionally? — Rather, say: [one who] came back intentionally has only four amos. — This too we learned: “non-Jews brought him back: as if he had not gone out”; [it is when] they brought him back that it is as if he had not gone out, but if non-Jews took him out and he came back intentionally, he has only four amos! — Rather, say: [one who] went out intentionally and non-Jews brought him back has only four amos. — This too we learned: “they took him out and brought him back: as if he had not gone out”; [it is when] they took him out and brought him back that it is as if he had not gone out, but [if he] went out intentionally, not! — You might have said [that the Mishnah] teaches separate cases: one whom non-Jews took out and who came back intentionally has only four amos, but one who went out intentionally and whom non-Jews brought back is as if he had not gone out; [Shmuel] teaches us [otherwise].

The Beis Yosef — on the words of the Tur “went out intentionally and non-Jews brought him back” and “all the more so [if he] came back intentionally”: « הכי דייקינן ממתני׳ בר״פ מי שהוציאוהו (עירובין ד׳ מא) » (בית יוסף או״ח ת״ה) — this is how we infer it from the Mishnah, at the beginning of the chapter “Mi She'hotziuhu” (Eruvin 41). Seif ה (“if he comes back intentionally”) and the beginning of seif ח (“went out intentionally and non-Jews brought him back”) carry these two laws; for seif ח, see section 6.
The Mishnah Berurah — on « אם חוזר לדעת »: « ר״ל ברצון ובדעת לאפוקי אם שגג וחזר חשיב כאלו החזירוהו » (משנה ברורה ת״ה ס״ק ט״ז) — that is, willingly and intentionally; to the exclusion of the case where he erred and came back: that counts as if he had been brought back.
On « אלא ארבע אמות », at the end of the seif: « ודוקא שלא נכנס לעירו אבל אם נכנס לעירו המוקפת מחיצות הרי היא כולה כד״א וכדלקמיה בס״ח וע״ש מש״כ בזה » (משנה ברורה ת״ה ס״ק י״ז) — and only if he did not enter his own city; but if he entered his own city surrounded by partitions, it is entirely like four amos, as below in seif ח; and see there what is written about this. [On the condition of the partitions, opinions differ: section 6.]

The gloss of the Rema, introduced by הגה in seif ה: « וכן אם נכנס לספינה ויצאה הספינה חוץ לתחום וחזרה לאחוריה לנמל שהפליגה משם הרי הוא כאלו לא יצא דהוה ליה כמו שהוציאוהו עכו״ם והחזירוהו (א״ז) » (רמ״א או״ח ת״ה:ה) — likewise, if he entered a ship, and the ship went out of the techum and returned backwards to the port from which it had set sail, it is as if he had not gone out, for it is as if non-Jews had taken him out and brought him back (Or Zarua).

The Mishnah Berurah — on “if he entered a ship”: « מיירי שקנה שביתה ביבשה ונכנס לספינה בשבת סתם לישב בה [ולא להפליג דאי נכנס להפליג הוי כיצא לדעת ואין לו אלא ארבע אמות] ובין כך הפליגה הספינה » (משנה ברורה ת״ה ס״ק י״ח) — it refers to one who acquired shevisah on dry land and entered the ship on Shabbos simply to sit in it [and not to set sail: for if he entered to set sail, it is as if he went out intentionally, and he has only four amos]; and meanwhile the ship set sail.
On “outside the techum”: « ומיירי שהיה אותו המקום שחוץ לתחום פחות מעשרה טפחים וא״כ היה אסור לו להחזיר מדעתו למקום הראשון וכדלעיל בסוף סימן ת״ד אלא משום דחזרה מעצמה לאחוריה מתירין לו » (משנה ברורה ת״ה ס״ק י״ט) — and it refers to the case where that place outside the techum was less than ten tefachim; he would therefore have been forbidden to return of his own accord to the first place, as above at the end of siman 404; but because [the ship] returned backwards by itself, it is permitted to him.

The Shulchan Aruch HaRav gathers in his seif 5 seif ה of the Mechaber and his seif ח, and writes the Rema's gloss in his seif 8: see Level 4, points ו and י״א.

4. The pen, the enclosure, the cave and the other city — Eruvin 42b; going out intentionally, and the wall (seif ו)

The Mishnah continues: « הוֹלִיכוּהוּ לְעִיר אַחֶרֶת. נְתָנוּהוּ בְדִיר אוֹ בְסַהַר, רַבָּן גַּמְלִיאֵל וְרַבִּי אֶלְעָזָר בֶּן עֲזַרְיָה אוֹמְרִים, מְהַלֵּךְ אֶת כֻּלָּהּ. רַבִּי יְהוֹשֻׁעַ וְרַבִּי עֲקִיבָא אוֹמְרִים, אֵין לוֹ אֶלָּא אַרְבַּע אַמּוֹת » (משנה עירובין ד:א) — if they took him to another city, if they placed him in a pen or in an enclosure: Rabban Gamliel and Rabbi Elazar ben Azaryah say: he walks in the whole [place]; Rabbi Yehoshua and Rabbi Akiva say: he has only four amos.

The Gemara: « אָמַר רַב: הִלְכְתָא כְּרַבָּן גַּמְלִיאֵל בְּדִיר וְסַהַר וּסְפִינָה. וּשְׁמוּאֵל אָמַר: הִלְכְתָא כְּרַבָּן גַּמְלִיאֵל, בִּסְפִינָה, אֲבָל בְּדִיר וְסַהַר — לָא » (עירובין מ״ב ע״ב) — Rav said: the halachah is like Rabban Gamliel for the pen, the enclosure and the ship. And Shmuel said: the halachah is like Rabban Gamliel for the ship, but for the pen and the enclosure, not.

The Beis Yosef — « וכתב הרי״ף שפסקו רבוותא הלכה כשמואל והוא ז״ל דחה דבריהם והעלה דהלכה כרב וכן פסקו התוס׳ והרא״ש ז״ל וכן פסק הרמב״ם בפרק כ״ז מה״ש וכתב הרב המגיד שכן הסכימו האחרונים ז״ל » (בית יוסף או״ח ת״ה) — and the Rif writes that masters ruled like Shmuel; he rejected their words, and concluded that the halachah is like Rav; and so ruled Tosafos and the Rosh, and so ruled the Rambam in chapter 27 of the laws of Shabbos; and the Rav HaMaggid writes that the later [authorities] agreed to this.

Went out intentionally, then entered one of these places. The seif writes: « אבל אם יצא חוץ לתחומו לדעת אע״פ שהוא בתוך אחד מאלו אין לו אלא ארבע אמות » (שו״ע או״ח ת״ה:ו) — but if he went out of his techum intentionally, although he is inside one of these [places], he has only four amos. On this point, Rishonim differ; here are the texts. This page does not decide.

The Taz — on « מהלך את כולה »: « דכיון שהוא מוקף מחיצות חשיב כולו כד״א אבל אם יצא חוץ לתחומו לדעת כן אז לא אמרינן דכל העיר חשוב לו כד״א כיון שלא שבת באויר אותה מחיצות וביאתו לשם היא באיסור כ״ה דעת הרמב״ם פכ״ז מה״ש וכ׳ המ״מ שם דרשב״א חולק ע״ז דאפי׳ בלדעת אמרי׳ כל העיר כד״א ופסק כרמב״ם » (ט״ז ת״ה ס״ק א) — for, since it is surrounded by partitions, it all counts as four amos; but if he went out of his techum intentionally, then we do not say that the whole city counts for him as four amos, since he did not make his shevisah within the space of those partitions, and his coming there is forbidden; such is the opinion of the Rambam, chapter 27 of the laws of Shabbos; and the Maggid Mishneh writes there that the Rashba disagrees with this — even [having gone out] intentionally, we say that the whole city is like four amos; and he ruled like the Rambam.
The Mishnah Berurah — on « אע״פ שהוא בתוך אחד מאלו »: « בין שנכנס מדעתו בין שהכניסוהו עכו״ם לשם כיון שעכ״פ יציאתו מתחום היה מדעת לא אמרינן בזה כולו כד׳ אמות ועיין בבה״ל » (משנה ברורה ת״ה ס״ק כ״ה) — whether he entered there of his own accord or non-Jews brought him in there: since, in any case, his going out of the techum was intentional, we do not say in this case that it is all like four amos; and see the Biur Halachah.
The Biur Halachah — on « אבל אם יצא חוץ לתחומו לדעת »: « עיין מ״ב והוא לפי דעת הרמב״ם וסייעתו וכפי שביאר הרה״מ ודע דהרשב״א וריטב״א ותוספות עירובין כ״ט [בד״ה והושיבוהו בתי׳ בתרא שם] פליגי ע״ז וסברי דבכל גווני מקילינן במקום המוקף מחיצות לחשבו כולו כד׳ אמות ואפי׳ ביצא במזיד חוץ לתחום ונכנס לתוך אחד מאלו וגם בביאור הגר״א משמע שנוטה יותר לדעה זו עיין מה שהאריך בזה ומ״מ למעשה בודאי יש להחמיר כדעת המחבר דהרבה ראשונים קיימי בשיטת הרמב״ם עיין בב״י וכן כתב האו״ז בפ׳ מי שהוציאוהו וכן משמע מדברי הר״מ המובא ברא״ש ובמרדכי ומועתק בסעיף ח׳ מדנקט לעירו דוקא וכמ״ש במג״א שם וכן הוא דעת שיבולי לקט בסימן קי״א בשם אחיו ר׳ בנימין ובשם ר׳ ישעיה עיי״ש ובפרט שהרשב״א בעצמו כתב בעבודת הקודש דיש לחוש לדברי המחמירין בזה » (ביאור הלכה ת״ה) — see the Mishnah Berurah; and this is according to the opinion of the Rambam and those who follow him, as the Rav HaMaggid explained. And know that the Rashba, the Ritva and Tosafos (Eruvin 29) [in the dibbur beginning “and they seated him”, according to the last answer there] disagree with this, and hold that in every case one is lenient in a place surrounded by partitions, to count it entirely as four amos, even if he went out of the techum intentionally and entered one of these [places]; and from the Biur of the Gra too it emerges that he leans more towards this opinion — see what he elaborates on this. Nevertheless, in practice one must certainly be stringent like the Mechaber, for many Rishonim stand in the method of the Rambam — see the Beis Yosef; and so wrote the Or Zarua in the chapter “Mi She'hotziuhu”; and this emerges also from the words of Rabbi Meir, brought by the Rosh and the Mordechai and copied in seif ח, since he says precisely “to his own city”, as the Magen Avraham writes there; and such is also the opinion of the Shibbolei HaLeket, in siman 111, in the name of his brother Rabbi Binyamin and in the name of Rabbi Yeshayah — see there; and all the more so since the Rashba himself wrote in Avodas HaKodesh that one should take into account the words of those who are stringent in this.
The Shulchan Aruch HaRav — in his seif 6, after the law of one taken to another city: « בַּמֶּה דְּבָרִים אֲמוּרִים? כְּשֶׁיָּצָא חוּץ לַתְּחוּם לָדַעַת, אוֹ שֶׁנִּכְנַס לָדַעַת בְּעִיר זוֹ אוֹ בְּבַיִת זֶה שֶׁהֵן חוּץ לְד׳ אַמּוֹת שֶׁנָּתְנוּ לוֹ חֲכָמִים. אֲבָל הוֹצִיאוּהוּ נָכְרִים חוּץ לַתְּחוּם, וּנְתָנוּהוּ הֵם בָּעִיר הַמֻּקֶּפֶת לְדִירָה, אוֹ בְּדִיר אוֹ בְּסַהַר אוֹ בִּמְעָרָה (שֶׁהִיא לְדִירָה אוֹ שֶׁאֵין בָּהּ יוֹתֵר מִבֵּית סָאתַיִם), אוֹ שֶׁנֶּאֱנַס בִּשְׁאָר אֹנֶס לָצֵאת חוּץ לַתְּחוּם וְלִכָּנֵס לְאֶחָד מִמְּקוֹמוֹת אֵלּוּ, אוֹ שֶׁשָּׁגַג וְיָצָא חוּץ לַתְּחוּם וְנִכְנַס לְאֶחָד מֵאֵלּוּ, וְנִזְכַּר וְהוּא בְּתוֹכוֹ — מְהַלֵּךְ אֶת כֻּלּוֹ, שֶׁכֻּלּוֹ נֶחְשָׁב לוֹ כְּד׳ אַמּוֹת הוֹאִיל וּמֻקָּף מְחִצּוֹת לְדִירָה, אַף עַל פִּי שֶׁלֹּא שָׁבַת בַּאֲוִירוֹ, כֵּיוָן שֶׁהוּא אָנוּס » (שו״ע הרב ת״ה:ו) — when is this said? When he went out of the techum intentionally, or entered intentionally this city or this house, which are outside the four amos that the Sages gave him. But if non-Jews took him out of the techum and placed him in a city surrounded for dwelling, or in a pen, an enclosure or a cave (that is for dwelling, or that has no more than two beis se'ah), or if he was compelled by another duress to go out of the techum and enter one of these places, or if he went out of the techum by mistake and entered one of them, and he remembered while inside it, he walks in the whole place, for the whole place counts for him as four amos, since it is surrounded by partitions for dwelling, although he did not make his shevisah within it, since he is under duress. See Level 4, point ז.

The wall. The seif writes: « או בעיר אחרת מוקפת חומה לדירה » (שו״ע או״ח ת״ה:ו) — or in another city surrounded by a wall for dwelling. On the requirement of the wall, opinions differ; here are the texts. This page does not decide.

The Mishnah Berurah — on « בדיר »: « גדר של בהמות שעושין בשדות היום כאן והיום כאן כדי לזבלן בגללי הבהמות וסהר נעשה לבהמות העיר ולא הזכיר כאן שיהיה מוקף לדירה משום דלא בעינן מוקף לדירה אלא בשהיה השטח יותר מבית סאתים וסתם דיר וסהר לא הוי כ״כ ובאם שהיה יותר מב״ס בעינן שיהא מוקף לדירה כגון ששומר הבהמות דר שם » (משנה ברורה ת״ה ס״ק כ״א) — a fence for animals, made in the fields, one day here and one day there, to fertilize them with the animals' dung; and the enclosure is made for the animals of the city; and [the seif] did not mention here that it be surrounded for dwelling, because “surrounded for dwelling” is required only when the area exceeds two beis se'ah, and an ordinary pen or enclosure is not that large; and if it exceeded two beis se'ah, it must be surrounded for dwelling, for example if the keeper of the animals lives there.
On « מוקפת חומה לדירה »: « דעי״ז הוי כרה״י והוי כולה כד׳ אמות וה״ה לעיירות שאין מוקפות חומה ויש בהן תיקוני עירובין וכמו שכתבנו לעיל בסימן ת״א במ״ב עיי״ש » (משנה ברורה ת״ה ס״ק כ״ב) — for thereby it is like a private domain, and it is entirely like four amos; and the same applies to towns that are not surrounded by a wall and have eruv arrangements, as we wrote above in siman 401 in the Mishnah Berurah — see there.
The Magen Avraham — on « מוקפת חומה »: « משמע דאפי׳ בא בעיבורה של עיר לא מהני כמ״ש התו׳ והרא״ש דלא כמ״ש הש״ג בשם י״א ובמהרי״ל כתוב וז״ל ושם שני ראשי העיר בתוך המים כגון במגנצא ששני מגדלים במים והעיר ביניהם כקשת אם באה בין שני המגדלים מותר ליכנס עכ״ל משמע דס״ל דעיבורה של עיר כעיר וכן כ׳ האגודה וסיים ונהגו שלא לצאת מהספינה אלא ישאוהו עכו״ם להעיר או לשפת הים מקום שהיא גבוה י׳ ע״ש שי״א אם נכנס לנמל עומק המים הוי מחיצה כדאמרי׳ גבי מבוי עכ״ל » (מגן אברהם ת״ה ס״ק ו) — it emerges that even if he came into the ibbur of the city [the area attached to it], it does not help, as Tosafos and the Rosh wrote, unlike what the Shiltei HaGiborim wrote in the name of “some say”; and in the Maharil it is written, in these words: “and there the two ends of the city are in the water, for example in Mainz, where two towers are in the water and the city between them, like a bow: if [the ship] came between the two towers, it is permitted to enter” — end of quote; it emerges that he holds that the ibbur of the city is like the city; and so wrote the Agudah, and he concludes: and the custom is not to leave the ship, but that non-Jews carry him to the city, or to the seashore, to a place where it is ten high; see there: some say that, if he entered the port, the depth of the water counts as a partition, as we say regarding a mavoi — end of quote.
The Biur Halachah — on « מוקפת חומה לדירה », after referring to the Mishnah Berurah: « ודע דמ״א הביא דעת ריא״ז דעבורה של עיר נמי נחשב כעיר וממילא דכ״ש דפליג על עיקר דין המחבר דלא בעינן היקף חומה כלל » (ביאור הלכה ת״ה) — and know that the Magen Avraham brought the opinion of the Riaz, that the ibbur of the city also counts as the city; and consequently, all the more so, he disagrees with the very law of the Mechaber, and does not require an enclosing wall at all.
« ובאמת מצאתי עוד כמה ראשונים שסוברין כן היינו הרמב״ן בחידושיו לעירובין האריך שם בזה דאפילו אין מוקף מחיצות ור״ה עובר בתוכה נמי חשיבא כד״א לענין זה והביא שם שכן הוא ג״כ דעת רבינו תם בתשובה דאפילו אין מוקף מחיצות נמי ש״ד וכן הוא דעת רבינו יואל מובא באו״ז בהלכות ע״ש סימן ו׳ שכתב שם דלולא דמסתפי היה מתיר אפילו בלא היקף מחיצות ועכ״פ אפילו לפי מה שנקט שם מתחלה להחמיר דבעינן היקף מ״מ סובר שם דאפילו אם היה ר״ה עובר בתוכה ובודאי אסור לטלטל שם אפ״ה מותר לו להלך בכולה דהיתר הילוך אינו תלוי בטלטול » (ביאור הלכה ת״ה) — and in truth, I found several more Rishonim who hold so: namely the Ramban, in his Chiddushim on Eruvin, who elaborates there on this: even if [the city] is not surrounded by partitions, and a public domain passes through it, it also counts as four amos in this respect; and he brings there that this is also the opinion of Rabbeinu Tam in a responsum: even if it is not surrounded by partitions, it is also fine; and such is the opinion of Rabbeinu Yoel, brought by the Or Zarua in the laws of Erev Shabbos, siman 6, who writes there that, were he not afraid, he would permit even without an enclosure of partitions; and in any case, even according to what he first adopted there — to be stringent and require an enclosure —, he holds there that, even if a public domain passes through it, where it is certainly forbidden to carry, he is nevertheless permitted to walk in the whole [city], for the permission to walk does not depend on carrying — see there.
« ומ״מ קשה הדבר להקל כנגד השו״ע דרוב הפוסקים קיימי בשיטת השו״ע » (ביאור הלכה ת״ה) — nevertheless, it is difficult to be lenient against the Shulchan Aruch, for most of the poskim stand in the method of the Shulchan Aruch; and he lists them.
« ומ״מ אפשר שבשעת הדחק יש לסמוך להקל כדעת הרמב״ן וסייעתו אפילו בלא מהיקף מחיצות מאחר דמלתא דרבנן הוא וע״ש ברמב״ן דסובר דעיבורה של עיר נחשב ג״כ כעיר לענין זה דמותר לילך אפילו בתוך עיבורה » (ביאור הלכה ת״ה) — nevertheless, it is possible that in a pressing situation one may rely, to be lenient, on the opinion of the Ramban and those who follow him, even without an enclosure of partitions, since it is a matter of rabbinic law; and see there in the Ramban, who holds that the ibbur of the city also counts as the city in this respect: it is permitted to walk even within its ibbur.
« מיהו מה שהביא המגן אברהם בשם ריא״ז דאפילו בהכניסוהו לעיבורו של עיר נמי חשוב לו כל העיר כד״א זו קולא יתירא דאף הרמב״ן מחמיר בזה בהדיא ע״ש ומסתברא לי דגם הריא״ז לא הקיל אלא בהכניסוהו לעיר שאז מותר גם בעיבורו אבל לא בהכניסוהו לעיבורו וכדעת הרמב״ן ע״ש בשה״ג שיש לפרש כן בדברי ריא״ז » (ביאור הלכה ת״ה) — however, what the Magen Avraham brings in the name of the Riaz — that even if they brought him into the ibbur of the city, the whole city also counts for him as four amos —, that is an excessive leniency, for even the Ramban is explicitly stringent on this — see there; and it seems reasonable to me that the Riaz too was lenient only when they brought him into the city, in which case it is permitted also in its ibbur, but not when they brought him into its ibbur, like the opinion of the Ramban; see there the Shiltei HaGiborim: one can explain the words of the Riaz in this way.

5. The ship — Eruvin 42b-43a; the broken walls; “one hollows out to complete” (seif ז)

The Gemara, after the dispute of Rav and Shmuel (section 4): « דְּכוּלֵּי עָלְמָא מִיהַת הֲלָכָה כְּרַבָּן גַּמְלִיאֵל בִּסְפִינָה, מַאי טַעְמָא? אָמַר רַבָּה: הוֹאִיל וְשָׁבַת בַּאֲוִיר מְחִיצּוֹת מִבְּעוֹד יוֹם. רַבִּי זֵירָא אָמַר: הוֹאִיל וּסְפִינָה נוֹטַלְתּוֹ מִתְּחִילַּת אַרְבַּע וּמַנַּחְתּוֹ בְּסוֹף אַרְבַּע. מַאי בֵּינַיְיהוּ? אִיכָּא בֵּינַיְיהוּ שֶׁנִּפְחֲתוּ דּוֹפְנֵי סְפִינָה. אִי נָמֵי: בְּקוֹפֵץ מִסְּפִינָה לִסְפִינָה » (עירובין מ״ב ע״ב) — in any case, according to all, the halachah is like Rabban Gamliel for the ship. What is the reason? Rabbah said: since he made his shevisah within the space of partitions while it was still day. Rabbi Zeira said: since the ship takes him from the beginning of four [amos] and sets him down at the end of four. What is the difference between them? There is between them [the case where] the walls of the ship were broken; or else one who jumps from one ship to another.

The Gemara then asks why Rabbi Zeira does not say like Rabbah, and answers for him: the partitions [of the ship] are made to keep out the water. Then: « וְרַבָּה, מַאי טַעְמָא לָא אָמַר כְּרַבִּי זֵירָא? בִּמְהַלֶּכֶת — כּוּלֵּי עָלְמָא לָא פְלִיגִי. כִּי פְּלִיגִי בְּשֶׁעָמְדָה » (עירובין מ״ג ע״א) — and Rabbah, why does he not say like Rabbi Zeira? [When the ship is] moving, all agree; they differ only when it has stopped.

“Since he made his shevisah within the space of partitions”. The seif writes: « מי שהפליגה ספינתו בים מהלך את כולה הואיל ושבת באויר מחיצו׳ » (שו״ע או״ח ת״ה:ז). On the reading of these words, and on the case referred to, the commentators differ; here are the texts. This page does not decide.

The Mishnah Berurah — on « מי שהפליגה וכו׳ »: « מיירי שבא בע״ש סמוך לחשיכה לנמל מקום שהספינה גוששת למטה מעשרה טפחים והיה בדעתו לצאת מן הספינה ולכנוס לעיר ונמצא שקנה שביתה ביבשה ובא רוח והפליג את הספינה חוץ לתחום במקום שהיו המים פחותים מעשרה טפחים מן הקרקע ולפי המבואר לעיל בסימן ת״ד אסור לו לצאת מן הספינה דאין לו אלא ד״א אפ״ה בספינה גופא מהלך את כולה דכארבע אמות דמיא הואיל ומוקפת מחיצות » (משנה ברורה ת״ה ס״ק כ״ו) — it refers to one who came on Erev Shabbos, close to nightfall, to the port, to a place where the ship touches bottom, below ten tefachim, and who intended to leave the ship and enter the city; it turns out that he acquired shevisah on dry land; then a wind came and carried the ship out, beyond the techum, to a place where the water was less than ten tefachim above the ground; and according to what is explained above in siman 404, he is forbidden to leave the ship, for he has only four amos; nevertheless, within the ship itself, he walks in the whole [ship], for it is like four amos, since it is surrounded by partitions.
On « הואיל ושבת באויר מחיצות »: « הלשון מגומגם ולאו דוקא הוא דלפי המבואר לעיל בס״ו אם הפליגה ספינתו שלא מדעתו והביאתו לתוך עיר המוקפת מחיצות שלא שבת בה או שנתנוהו עכו״ם לתוך ספינה אחרת נמי מהלך את כולה כיון שיציאתו באונס היתה אלא עיקר הכונה הוא הואיל והוא באויר מחיצות לאפוקי כשנפחת וכדמסיים » (משנה ברורה ת״ה ס״ק כ״ח) — the wording is hesitant, and not to be taken literally; for, according to what is explained above in seif ו, if his ship set sail without his intention and brought him into a city surrounded by partitions, in which he did not make Shabbos, or if non-Jews placed him in another ship, he also walks in the whole [place], since his going out was under duress; rather, the main intention is: since he is within the space of partitions — to the exclusion of [the case where the wall] was broken, as [the seif] says at the end.
The Magen Avraham — on « הואיל ושבת וכו׳ »: « אבל אם בא לעיר אחרת אסור דלא שבת באויר מחיצות דכיון דנכנס בשבת לתוך הספינה הוה ליה כיוצא לדעת (הגהות אשירי וב״ז סי׳ ר״כ) והעולת שבת לא דק ונכנס בדוחקים ועיין סעיף ח׳ והוא הדין אם נתנוהו עכו״ם לספינה אחרת ומ״מ יכול ליכנס לספינה קטנה התלויה בה לפנות ולחזור לספינה גדולה כמ״ש סי׳ ת״ו (ראב״ן) ומשמע מדברי הג״א אם נכנס בהיתר כגון שקנה שביתה אתמול ה״ל כיצא שלא לדעת וכ״מ סס״י ת״ד » (מגן אברהם ת״ה ס״ק ז) — but if he came to another city, it is forbidden, for he did not make his shevisah within the space of [its] partitions; for, since he entered the ship on Shabbos, it is like one who goes out intentionally (Hagahos Asheri, and « ב״ז סי׳ ר״כ »); and the Olas Shabbos was not precise, and entered into forced explanations; and see seif ח; and the same applies if non-Jews placed him in another ship; nevertheless, he may enter a small boat hanging from it to relieve himself, and return to the large ship, as written in siman 406 (Raavan); and it emerges from the words of the Hagahos Asheri that, if he entered in a permitted way — for example, if he acquired shevisah the day before —, it is like one who goes out unintentionally; and this emerges also from the end of siman 404.
The Biur Halachah — on « הואיל ושבת וכו׳ », after referring to the Mishnah Berurah: « ובמג״א מיישב דברי השו״ע דשבת באויר מחיצות דוקא ומיירי שהפליג באיסור » (ביאור הלכה ת״ה) — and the Magen Avraham explains the words of the Shulchan Aruch: “he made his shevisah within the space of partitions”, precisely; and it refers to one who set sail in a forbidden way.
He then describes this case according to the Magen Avraham, and then: « וכ״ז הוא לדעת המחבר אבל לפי דעת הרמ״א שם בסי׳ רמ״ח דמותר לצאת בלילה מן הספינה ולהפליג למחר א״כ לא משכחת האי דינא דכיון דנכנס בהיתר הוה ליה כיצא שלא לדעת » (ביאור הלכה ת״ה) — and all this is according to the opinion of the Mechaber; but according to the opinion of the Rema, there in siman 248, that it is permitted to leave the ship at night and set sail the next day, this case is not found, for, since he entered in a permitted way, it is like one who went out unintentionally.
The Shulchan Aruch HaRav — in his seif 7: « אֲבָל אֵלּוּ שֶׁקּוֹנִים שְׁבִיתָה בַּסְּפִינָה, וְיוֹצְאִים מִמֶּנָּה לְבָתֵּיהֶם לָלוּן, וּלְמָחָר נִכְנָסִים לַסְּפִינָה וּמַפְלִיגִים — הֲרֵי זֶה כְּיוֹצֵא לָדַעַת, וְאִם נִכְנַס לָעִיר הַמֻּקֶּפֶת [לְ]דִירָה אֵינָהּ חֲשׁוּבָה לוֹ כְּד׳ אַמּוֹת, כֵּיוָן שֶׁלֹּא שָׁבַת בַּאֲוִיר מְחִצּוֹתֶיהָ » (שו״ע הרב ת״ה:ז) — but those who acquire shevisah in the ship, then leave it to sleep at home, and the next day enter the ship and set sail: this is like one who goes out intentionally; and if he entered a city surrounded for dwelling, it does not count for him as four amos, since he did not make his shevisah within the space of its partitions.
« אֲבָל מִכָּל מָקוֹם הַסְּפִינָה כֻּלָּהּ נֶחְשֶׁבֶת לוֹ כְּד׳ אַמּוֹת, אֲפִלּוּ אִם הָיְתָה מְהַלֶּכֶת הַכֹּל לְמַטָּה מִי׳ טְפָחִים, וְיָכוֹל לְהַלֵּךְ בְּכֻלָּהּ אַף לְאַחַר שֶׁהִפְלִיגָה חוּץ לַתְּחוּם, הוֹאִיל וְשָׁבַת בַּאֲוִיר מְחִצּוֹתֶיהָ » (שו״ע הרב ת״ה:ז) — but nevertheless, the whole ship counts for him as four amos, even if it was moving entirely below ten tefachim, and he may walk in the whole [ship], even after it set sail beyond the techum, since he made his shevisah within the space of its partitions. See Level 4, point ח.

The broken walls: the ship standing still. The seif writes: « ואם נפחתו דפני ספינה בשבת אם היא מהלכת מהלך את כולה ואם היא עומדת אינו מהלך בה אלא ארבע אמות » (שו״ע או״ח ת״ה:ז) — and if the walls of the ship were broken on Shabbos: if it is moving, he walks in the whole [ship]; and if it is standing still, he walks in it only four amos. For the ship standing still above ten tefachim, the Mishnah Berurah and the Shulchan Aruch HaRav do not write the same thing; here are the texts. This page does not decide.

The Mishnah Berurah — on “if it is moving”: « דבמהלכת לא שייך לומר דיוצא מארבע אמות שלו בהליכתו דבכל שעה עומד בארבע אמות אחרים דספינה נוטלתו תמיד מארבע אמותיו לארבע אמות אחרים [גמרא] » (משנה ברורה ת״ה ס״ק ל) — for [in a ship that is] moving, one cannot say that he goes out of his four amos by walking, since at every moment he stands in another four amos, the ship constantly carrying him from his four amos to another four [Gemara].
On « עומדת »: « חוץ לתחום במקום שהוא נמוך למטה מעשרה טפחים דלמעלה מי״ט הלא נקטינן דאין בו איסור תחומין ומותר להלך כמה שירצה אפילו בלא מחיצות כלל ועיין בסימן רמ״ח ס״ב במש״כ מה נקרא למטה מעשרה » (משנה ברורה ת״ה ס״ק ל״א) — outside the techum, at a low place, below ten tefachim; for above ten tefachim we hold that there is no prohibition of techumin, and it is permitted to walk as much as he wishes, even without any partition at all; and see siman 248, seif ב, what is written about what is called “below ten”.
The Shulchan Aruch HaRav — in his seif 7: « וְאִם נִפְחֲתוּ דָּפְנֵי הַסְּפִינָה בְּשַׁבָּת, וְאֵינָן גְּבוֹהִים י׳ טְפָחִים — אֵינוֹ מְהַלֵּךְ בָּהּ יוֹתֵר מִד׳ אַמּוֹת, וַאֲפִלּוּ אִם לֹא יָצָא מִמֶּנָּה מִשֶּׁנִּכְנַס הַשַּׁבָּת, אֶלָּא שֶׁהָיְתָה בְּמָקוֹם אֶחָד לְמַטָּה מִי׳ טְפָחִים מִשֶּׁנִּכְנַס הַשַּׁבָּת וְהִפְלִיגָה מֵאוֹתוֹ מָקוֹם יוֹתֵר מֵאַלְפַּיִם, שֶׁכֵּיוָן שֶׁאֵין לָהּ מְחִצּוֹת — אֵין כֻּלָּהּ כְּד׳ אַמּוֹת. (וַאֲפִלּוּ בְּמָקוֹם שֶׁהִיא עוֹמֶדֶת לְמַעְלָה מִי׳ טְפָחִים אֵינוֹ מְהַלֵּךְ בָּהּ יוֹתֵר מִד׳ אַמּוֹת, שֶׁלֹּא אָמְרוּ "אֵין תְּחוּמִין לְמַעְלָה מֵעֲשָׂרָה" אֶלָּא בְּהִלּוּךְ הַסְּפִינָה עַל פְּנֵי הַמַּיִם, שֶׁהוּא דוֹמֶה לִקְפִיצָה בַּאֲוִיר וְאֵינוֹ נִקְרָא הִלּוּךְ, כְּמוֹ שֶׁנִּתְבָּאֵר בְּסִמָּן ת״ד. אֲבָל הִלּוּךְ הָאָדָם בְּתוֹךְ הַסְּפִינָה — הִלּוּךְ הוּא, כְּמוֹ הַמְהַלֵּךְ בָּאָרֶץ. בַּמֶּה דְּבָרִים אֲמוּרִים? כְּשֶׁהִיא עוֹמֶדֶת. אֲבָל כְּשֶׁהִיא מְהַלֶּכֶת — מְהַלֵּךְ אֶת כֻּלָּהּ בְּכָל עִנְיָן, מִפְּנֵי שֶׁטֶּרֶם שֶׁיַּסְפִּיק לְהַלֵּךְ (ד׳ אַמּוֹת) אֲפִלּוּ פְּסִיעָה אַחַת, נוֹטַלְתּוֹ הַסְּפִינָה מִד׳ אַמּוֹת אֵלּוּ וּמַנִּיחָתוֹ בְּד׳ אַמּוֹת אֲחֵרוֹת עַל כָּרְחוֹ, וְיֵשׁ לוֹ שָׁם ד׳ אַמּוֹת אֲחֵרוֹת, כְּמוֹ מִי שֶׁהוֹצִיאוּהוּ נָכְרִים מִד׳ אַמּוֹת וּנְתָנוּהוּ בְּד׳ אַמּוֹת אֲחֵרוֹת, שֶׁיֵּשׁ לוֹ שָׁם ד׳ אַמּוֹת, וְכֵן מֵאוֹתוֹ ד׳ אַמּוֹת לְד׳ אַמּוֹת אֲחֵרוֹת, וְכֵן לְעוֹלָם) » (שו״ע הרב ת״ה:ז) — and if the walls of the ship were broken on Shabbos, and they are not ten tefachim high, he walks in it no more than four amos — even if he did not leave it since Shabbos began, but [the ship] was, since Shabbos began, in a place below ten tefachim, and it set sail from that place more than two thousand [amos] —, for, since it has no partitions, it is not entirely like four amos. (And even in a place where it stands above ten tefachim, he walks in it no more than four amos; for “there are no techumin above ten” was said only of the movement of the ship on the surface of the water, which resembles a leap through the air and is not called walking, as explained in siman 404; but a person's walking inside the ship is walking, like one who walks on land. When is this said? When it is standing still; but when it is moving, he walks in the whole [ship] in any case, because before he has time to walk (four amos), even one step, the ship takes him from these four amos and sets him down against his will in another four amos, and he has there another four amos — like one whom non-Jews took out of his four amos and placed in another four amos, who has four amos there —, and likewise from those four amos to another four, and so on always.) See Level 4, point ט.

“One hollows out to complete”. The gloss of the Rema, introduced by הגה in seif ז: « ואם באמצע יש לו מחיצות עשרה ובראשו אין לו אזלינן בתר אמצעי ואפילו אין לו כלל רק יש בו לחקוק עשרה דאמרינן חוקקין להשלים (א״ז) » (רמ״א או״ח ת״ה:ז) — and if [the ship] has, in its middle, partitions of ten and does not have them at its end, we follow the middle; and even if it has none at all, but ten can be hollowed out in it, for we say: one hollows out to complete (Or Zarua). On the basis of this rule, the commentators differ; here are the texts. This page does not decide.

The Magen Avraham — on « חוקקין להשלים »: « דין זה צ״ע ונ״ל שכוון להא דאמרי׳ בעירובין שם וע״ש בפירש״י ותבין דמיירי בספינה קטנה שתלויה בספינה גדולה דמצטרפין ע״ש וצ״ע דהא לא קיימא לן כר״מ סי׳ שמ״ה ס״י וסי׳ שס״ב ואפשר שר״ל שאין לו מחיצות י׳ עובי הנסרים מצטרפים כמ״ש סימן שע״ב ס״ו » (מגן אברהם ת״ה ס״ק י״א) — this law requires examination; and it seems to me that he was referring to what is said in Eruvin there — see there the commentary of Rashi, and you will understand — that it refers to a small boat hanging from a large ship, which join together — see there; and this requires examination, for we do not hold like Rabbi Meir (siman 345, seif י, and siman 362); and it is possible that he means that, [if the ship] does not have partitions of ten, the thickness of the planks joins [them], as written in siman 372, seif ו.
The Mishnah Berurah — on “to hollow out”: « דהיינו עובי הנסרים שבקרקעיתה יש בהם לחקוק כדי שיעור להצטרף עם המחיצות להשלים לגבוה עשרה » (משנה ברורה ת״ה ס״ק ל״ד) — that is, the thickness of the planks of the bottom has enough to hollow out, the measure needed to join the partitions and complete a height of ten.
On “one hollows out”: « ואף דקי״ל אין חוקקין להשלים שאני הכא דהוא בכלל מה דאמרינן [בסימן שע״ב ס״ו] גידוד חמשה [היינו תל גבוה חמשה] ומחיצה חמשה מצטרפין לשיעור י׳ טפחים » (משנה ברורה ת״ה ס״ק ל״ה) — and although we hold that one does not hollow out to complete, here it is different, for it falls within what we say [in siman 372, seif ו]: a mound of five [that is, a hill five high] and a partition of five join for the measure of ten tefachim.
The Shulchan Aruch HaRav — in his seif 7, he first gives a reason drawn from siman 372 (see Level 4, point י), and then: « וְעוֹד, שֶׁכֵּיוָן שֶׁבְּקַרְקָעִיתָהּ יֵשׁ כְּדֵי לַחֲקוֹק לְהַשְׁלִימָהּ לַעֲשָׂרָה — אָנוּ רוֹאִים כְּאִלּוּ הוּא חָקוּק, כִּי יֵשׁ מִי שֶׁאוֹמֵר שֶׁבְּכָל מָקוֹם אוֹמְרִים "חוֹקְקִים לְהַשְׁלִים", וְיֵשׁ לִסְמוֹךְ עַל דִּבְרֵיהֶם לְעִנְיַן תְּחוּמִין, שֶׁהֲלָכָה כְּדִבְרֵי הַמֵּקֵל בָּהֶם » (שו״ע הרב ת״ה:ז) — and moreover, since in its bottom there is enough to hollow out to complete it to ten, we regard it as if it were hollowed out; for someone says that one says everywhere “one hollows out to complete”, and one may rely on their words in matters of techumin, for the halachah there follows the one who is lenient.

6. Went out intentionally and was brought back; brought back to his own city (seif ח)

The seif first writes: « יצא לדעת והחזירוהו עכו״ם אין לו אלא ד׳ אמות » (שו״ע או״ח ת״ה:ח) — [if he] went out intentionally and non-Jews brought him back, he has only four amos: this is the conclusion of the Gemara cited in section 3 (Eruvin 41b). Then: « ומיהו אם החזירוהו לעירו (המוקפת מחיצות לדירה) (הרא״ש פרק מי שהוציאוהו ורבינו ירוחם חי״א וא״ז) כולה כד׳ אמות ואפי׳ יצא לדעת וחזר לדעת » (שו״ע או״ח ת״ה:ח) — however, if they brought him back to his own city (surrounded by partitions for dwelling) (the Rosh, chapter “Mi She'hotziuhu”, Rabbeinu Yerucham [reference as printed], and the Or Zarua), it is entirely like four amos, even if he went out intentionally and came back intentionally. [The two parentheses are printed in small print, without the word הגה; the page does not attribute this passage to anyone: see Level 1, section 1.]

The Tur — « יצא לדעת והחזירוהו עכו״ם אין לו אלא ד״א וכ״ש חזר לדעת אפי׳ הוציאוהו עכו״ם ומיהו כל העיר כולה כד״א אפילו יצא לדעת וחזר לדעת » (טור או״ח ת״ה) — [if he] went out intentionally and non-Jews brought him back, he has only four amos; and all the more so [if he] came back intentionally, even if non-Jews had taken him out; however, the whole city is entirely like four amos, even if he went out intentionally and came back intentionally.
The Tur writes « כל העיר כולה »; the seif writes « אם החזירוהו לעירו », with, in small print, « (המוקפת מחיצות לדירה) ».
The Beis Yosef — on these words of the Tur: « כ״כ שם הרא״ש והמרדכי בשם ר״מ שדקדק כן מסוגיית הגמ׳ וכן כתבו הגהות בפ׳ כ״ז מה״ש » (בית יוסף או״ח ת״ה) — so wrote there the Rosh and the Mordechai in the name of Rabbi Meir, who inferred it from the sugya of the Gemara; and so wrote the Hagahos on chapter 27 of the laws of Shabbos.
The Magen Avraham — on “to his own city”: « הואיל ושבת באויר מחיצות אבל בעיר אחרת אין לו אלא ד״א אפי׳ נתנוהו עכו״ם לשם כיון שיצא לדעת עס״ו וס״ז וכ״כ הרא״ש והע״ש נמשך אחר טעותו מ״ש ס״ז ושנה בה כאן וגרס לעיר ולא דק » (מגן אברהם ת״ה ס״ק י״ב) — since he made his shevisah within the space of partitions; but in another city, he has only four amos, even if non-Jews placed him there, since he went out intentionally — see se'ifim ו and ז; and so wrote the Rosh; and the Olas Shabbos followed the error he wrote in seif ז, repeated it here, read “to the city” [instead of “to his own city”], and was not precise.
On « כד׳ אמות »: « ומ״מ אסור לצאת חוצה לה דהפסיד תחומו כיון שיצא לדעת » (מגן אברהם ת״ה ס״ק י״ג) — nevertheless, he is forbidden to go out of it, for he lost his techum, since he went out intentionally.

The condition of the partitions. The seif writes it in small print, in parentheses: « (המוקפת מחיצות לדירה) ». On this condition, the commentators differ; here are the texts. This page does not decide.

The Taz — on « המוקפת מחיצות כו׳ »: « לעיל ס״ס ת״א כתבתי דנ״ל דהוא הדין למבוי שיש בו עירוב צ״ה » (ט״ז ת״ה ס״ק ג) — above, at the end of siman 401, I wrote that it seems to me that the same applies to an alley (mavoi) that has an eruv; see there.
The Mishnah Berurah — on « לדירה »: « וה״ה אם מבואותיה מתוקנים בצורת הפתח וכנ״ל » (משנה ברורה ת״ה ס״ק מ) — the same applies if its alleys are made fit with a form of a doorway, as above.
The Biur Halachah — on « אם החזירוהו לעירו המוקפת וכו׳ »: « עיין בית מאיר שמגמגם בזה דהלא עיקר חידוש דין זה הוא מטעם ששבת בה בין השמשות וא״כ מסתברא דלא בעינן כאן היקף מחיצות סביבות העיר וכמו דקיי״ל בעלמא בשובת בעיר שיש לו אלפים אמה לכל רוח ואפילו אינה מוקפת כלל עיין בטור סי׳ שצ״ח ובאמת הרמ״א הוציא דין זה רק מסעיף ו׳ ומה שנרשם בהג״ה בשם הרא״ש ורי״ו ואו״ז הוא ג״כ מדברי הפוסקים הנ״ל גבי דינא דסעיף ו׳ ובאמת אין ראיה משם דשאני התם דלא שבתו שם בין השמשות ומ״מ אינו מוכרח דע״כ אינו כשבת ממש שהרי אין לו רק עירו ולא אלפים כבתחלה גם מ״ש בית מאיר בעיקר דין זה דרמב״ם לא ס״ל כר״מ אין לנו לחוש להחמיר מאחר שדעת הרשב״א וסייעתו להקל אפילו בעיר אחרת וכמו שכתבנו לעיל בבה״ל עיי״ש וא״כ עכ״פ בהחזירוהו לעיר ששבת בה בודאי אין להחמיר » (ביאור הלכה ת״ה) — see the Beis Meir, who hesitates about this: for the main novelty of this law comes from his having made his shevisah in [the city] at twilight; it is therefore reasonable that here an enclosure of partitions around the city is not required, as we hold in general for one who makes his shevisah in a city, that he has two thousand amos in every direction even if it is not surrounded at all — see the Tur in siman 398; and in truth, the Rema derived this law only from seif ו, and what is noted in the gloss in the name of the Rosh, Rabbeinu Yerucham and the Or Zarua also comes from the words of those poskim on the law of seif ו; and in truth there is no proof from there, for there it is different: they did not make their shevisah there at twilight. Nevertheless, this is not compelling, for necessarily it is not as if he had actually made his shevisah there, since he has only his city, and not two thousand [amos] as at the beginning. Likewise, what the Beis Meir writes on the law itself — that the Rambam does not hold like Rabbi Meir —, we need not be concerned to be stringent, since the opinion of the Rashba and those who follow him is to be lenient even in another city, as we wrote above in the Biur Halachah — see there; and so, in any case, when they brought him back to the city in which he made Shabbos, one certainly should not be stringent.
[The Biur Halachah names the Rema and a “gloss”; in the text that Sefaria serves (Maginei Eretz), this seif does not carry the word הגה: see Level 1, section 1.]
The Shulchan Aruch HaRav — in his seif 5: « וּמִכָּל מָקוֹם, אִם חָזַר לְעִירוֹ — כָּל הָעִיר חֲשׁוּבָה לוֹ כְּד׳ אַמּוֹת אִם הִיא מֻקֶּפֶת מְחִצּוֹת לְדִירָה, וַאֲפִלּוּ אִם יָצָא לָדַעַת וְחָזַר לָדַעַת, הוֹאִיל וְשָׁבַת בַּאֲוִיר מְחִצּוֹתֶיהָ. אֶלָּא שֶׁאָסוּר לָצֵאת חוּצָה לָהּ » (שו״ע הרב ת״ה:ה) — nevertheless, if he came back to his own city, the whole city counts for him as four amos, if it is surrounded by partitions for dwelling, even if he went out intentionally and came back intentionally, since he made his shevisah within the space of its partitions; only, he is forbidden to go out of it. See Level 4, point ו.

7. Produce taken out of the techum — Eruvin 41b (seif ט)

The Gemara: « אָמַר רַב פָּפָּא: פֵּירוֹת שֶׁיָּצְאוּ חוּץ לַתְּחוּם וְחָזְרוּ, אֲפִילּוּ בְּמֵזִיד — לֹא הִפְסִידוּ אֶת מְקוֹמָן. מַאי טַעְמָא? אֲנוּסִין נִינְהוּ » (עירובין מ״א ע״ב) — Rav Papa said: produce that went out of the techum and came back, even intentionally, has not lost its place. What is the reason? It is under duress.

Rav Yosef bar Shemayah objects to him from a baraisa in which Rabbi Nechemyah and Rabbi Eliezer ben Yaakov forbid it until it returns to its place unintentionally; the Gemara answers that it is a dispute of Tannaim (41b-42a). The Beis Yosef summarizes the sugya and its conclusion:

The Beis Yosef — on « וכ״ז שלא הוחזרו » of the Tur: « שם אהא דר״פ איתיביה ר׳ נחמיה וראב״י אומרים לעולם אסורים עד שיחזרו למקומן שוגגים שוגג אין מזיד לא תנאי היא דתניא פירות שיצאו חוץ לתחום וכו׳ מאי במקומן במזיד והא קתני וכו׳ אלא לאו במקומן וחסורי מחסרא וה״ק פירות שיצאו חוץ לתחום בשוגג יאכלו במזיד לא יאכלו בד״א שלא במקומן אבל במקומן אפי׳ במזיד ואתא ר׳ נחמיה למימר אפילו במקומן נמי בשוגג אין במזיד לא ופסקו התוס׳ והרא״ש והמרדכי הלכה כת״ק וכ״כ בהג״א בשם א״ז » (בית יוסף או״ח ת״ה) — there, regarding [the statement] of Rav Papa: he objected to him: Rabbi Nechemyah and Rabbi Eliezer ben Yaakov say: it remains forbidden until it returns to its place unintentionally; unintentionally, yes, intentionally, no! — It is a dispute of Tannaim, for it is taught: produce that went out of the techum, etc. What does “in its place” mean? [If] intentionally — does it not teach, etc.? Is it not rather “in its place”, and words are missing, and [the baraisa] says this: produce that went out of the techum, unintentionally, may be eaten; intentionally, may not be eaten; when is this said? Outside its place; but in its place, even intentionally; and Rabbi Nechemyah comes to say: even in its place, unintentionally, yes, intentionally, no. And Tosafos, the Rosh and the Mordechai ruled like the first Tanna; and so wrote the Hagahos Asheri in the name of the Or Zarua.
The Tur — « פירות שהוציאם חוץ למקומם והוחזרו אפילו במזיד הרי הן כבתחלה וכל העיר כד״א להם ויש להם אלפים לכל רוח וכ״ז שלא הוחזרו והם חוץ למקומן אם הוציאם בשוגג מותרין במזיד אסור לטלטלם חוץ לד׳ אמותיו ואסור לאוכלם אפילו לאחר שלא הוציאם » (טור או״ח ת״ה) — produce that he took out of its place and that was brought back, even intentionally, is as at the beginning: the whole city is like four amos for it, and it has two thousand [amos] in every direction; and as long as it has not been brought back and is outside its place: if he took it out by mistake, it is permitted; intentionally, it is forbidden to move it beyond his four amos, and forbidden to eat it, even for another who did not take it out.

“Even for that Jew who brought it back for his need”. The seif writes, for Shabbos: « אפי׳ לאותו ישראל שהחזירם לצרכו במזיד » (שו״ע או״ח ת״ה:ט). On the meaning of these words, the commentators differ; here are the texts. This page does not decide.

The Beis Yosef — after Rav Papa's statement and Rashi's commentary: « וכתב שם בהגהות אשיר״י ומותרים אפילו לאותו ישראל שהחזירם לצרכו משום דהני פירות קנו ממש שביתה בזאת העיר ולא דמי לדבר הבא מחוץ לתחום דאסור משום דעבד בהו איסור מיהו אותו שהחזיר במזיד אסור לדידיה הואיל ונעשה בהם איסור שהביאם מחוץ לתחום והתוספות מתירין אפי׳ לאותו שהחזירם » (בית יוסף או״ח ת״ה) — and the Hagahos Asheri write there: and it is permitted even for that Jew who brought it back for his need, because this produce actually acquired shevisah in this city, and it is not like something brought from outside the techum, which is forbidden because a prohibition was committed with it; however, the one who brought it back intentionally, it is forbidden to him himself, since a prohibition was committed with it by bringing it from outside the techum; and Tosafos permit even for the one who brought it back.
The Mishnah Berurah — on « ואפילו לאותו ישראל וכו׳ »: « ואע״ג דהבא מחוץ לתחום אסור למי שבא בשבילו שאני הכא שהוחזרו למקום ששבתו בין השמשות » (משנה ברורה ת״ה ס״ק מ״ו) — and although what is brought from outside the techum is forbidden to the one for whom it was brought, here it is different, for it was brought back to the place where it made its shevisah at twilight.
The Biur Halachah — on « שהחזירם לצרכו »: « הלשון אינו מדויק דמלשון שהחזירה משמע דאפילו אותו האיש שהחזירן ג״כ מותר בהם ומלשון לצורכו משמע דמיירי באחר שהוציא והחזיר לצורכו ובזה דוקא מתיר דעכ״פ הוא בעצמו לא עשה מעשה באיסור אבל בהוציא הוא בעצמו אפשר שפיר דעכ״פ לו בעצמו אסור ובב״י הביא ב׳ דיעות בזה והגהת אשר״י מחמיר בזה עיי״ש בב״י ותראה דלשון המחבר הוא ממש כלשון הגהת אשר״י והלשון באמת מגומגם ובאו״ז שממנו העתיק הגהת אשר״י דבריו איתא שהחזירום ולא שהחזירם וקאי על אחרים שהחזירו בשבילו ורק בזה מתירין אנו וא״כ אפשר דכן גם כוונת המחבר וכן משמע בלבוש ובע״ש שפירשו כן בדברי המחבר אכן הגר״א מפרש דהמוציא בעצמו ג״כ מותר וכפשטות הלשון לאותו ישראל שהחזירם ולדינא בודאי יש לנקוט להקל בזה כפי׳ הגר״א דגם הריטב״א בחי׳ כתב כן בשם רבו וכן משמע בחידושי הרמב״ן והרשב״א וכ״פ הגר״ז » (ביאור הלכה ת״ה) — the wording is not precise: for from the expression “who brought it back” it emerges that even the man who brought it back is permitted it; and from the expression “for his need” it emerges that it refers to another, who took it out and brought it back for his need, and that only in this case does he permit, since, in any case, he himself did not perform a forbidden act; but when he himself took it out, it is quite possible that, in any case, it is forbidden to him himself. And the Beis Yosef brings two opinions on this, and the Hagahos Asheri are stringent in this — see there in the Beis Yosef; and you will see that the wording of the Mechaber is exactly that of the Hagahos Asheri; and the wording is in truth hesitant. And in the Or Zarua, from which the Hagahos Asheri took their words, it is written « שהחזירום ולא שהחזירם » [“that they brought it back”, and not “that he brought it back”], and it refers to others who brought it back for him; and only in this case do we permit; and so it is possible that this is also the intention of the Mechaber; and this is what emerges from the Levush and the Olas Shabbos, who explained the words of the Mechaber in this way. However, the Gra explains that the one who took it out himself is also permitted, according to the plain sense of the expression “that Jew who brought it back”; and for the law, one should certainly adopt the leniency in this, according to the explanation of the Gra, for the Ritva too wrote so in his Chiddushim in the name of his teacher, and so it emerges from the Chiddushim of the Ramban and the Rashba; and so ruled the Graz.
The Shulchan Aruch HaRav — in his seif 9: « וַאֲפִלּוּ לְאוֹתוֹ יִשְׂרָאֵל שֶׁהֶחֱזִירָם לְצָרְכּוֹ אֵין דִּינָם כִּשְׁאָר דָּבָר הַבָּא מִחוּץ לַתְּחוּם, שֶׁאָסוּר לְמִי שֶׁהוּבָא בִּשְׁבִילוֹ, הוֹאִיל וּפֵרוֹת אֵלּוּ הָיוּ כְּבָר בִּתְחוּם זֶה בְּשַׁבָּת זוֹ. וַאֲפִלּוּ הַמַּחֲזִיר עַצְמוֹ, שֶׁעָשָׂה אִסּוּר — אֵין קוֹנְסִין אוֹתוֹ שֶׁלֹּא יֹאכְלֵם בְּשַׁבָּת » (שו״ע הרב ת״ה:ט) — and even for that Jew for whose need it was brought back [literally “who brought it back for his need”; what follows treats separately the one who brought it back himself], its law is not that of other things brought from outside the techum, which are forbidden to the one for whom they were brought, since this produce was already in this techum on this Shabbos; and even the one who brought it back himself, who committed a prohibition, is not penalized by being forbidden to eat it on Shabbos. See Level 4, point י״ב.

Produce not brought back, taken out intentionally, and the surrounded city. The seif writes: « וכל זמן שלא הוחזרו והם חוץ למקומם אם הוציאן בשוגג מותרים לאכלם ואסור לטלטלם חוץ לד׳ אמות » (שו״ע או״ח ת״ה:ט) — and as long as it has not been brought back and is outside its place: if he took it out by mistake, it is permitted to eat it, and forbidden to move it beyond four amos. For produce brought into a city surrounded by partitions, the Taz (ס״ק ו) reads the Tur thus: taken out by mistake, the whole city counts as four amos; taken out intentionally, not. The Mishnah Berurah (ס״ק נ) writes that, in a city surrounded by partitions, it is permitted to move it in the whole city, whether he took it out by mistake or intentionally. For produce taken out intentionally, the commentators therefore differ; here are the texts. This page does not decide.

The Taz — on « ואסור לטלטלם חוץ לארבע »: « בטור כתוב אם הוציאן בשוגג מותרים במזיד אסור לטלטלם חוץ לד׳ אמותיו וכתב ב״י דודאי אפי׳ הוציאן בשוגג אין להם אלא ד״א והטור דנקט במזיד היינו משום איסור אכילה » (ט״ז ת״ה ס״ק ו) — in the Tur it is written: if he took it out by mistake, it is permitted; intentionally, it is forbidden to move it beyond his four amos; and the Beis Yosef wrote that certainly, even if he took it out by mistake, it has only four amos, and that the Tur said “intentionally” because of the prohibition of eating.
« ול״נ לפרש דברי הטור דמיירי בעיר המוקפ׳ ובזה ס״ל כרמב״ם דסעיף ו׳ שזכרנו שם דביוצא לדעת ונכנס לדיר וסהר דלא אמרינן כל העיר כד״א אלא דוקא ביצא באונס ה״נ דכוותיה דאם בשוגג נחשב לו כל העיר כד״א אבל במזיד לא נחשב לו כן וע״כ נקט הטו׳ חוץ לד׳ אמותיו בוי״ו להורות אפי׳ אם הוא ברה״י או בעיר המוקפת אין לו אלא ד״א ולרש״ל ראיתי בפ׳ א״צ סי׳ ט׳ שהביא דברי הטור אלו במ״ש ואסור לטלטל חוץ לד״א וכ׳ ע״ז פי׳ בעיר שאין מוקפת חומה כו׳ ולעד״נ כמ״ש דאפילו במוקפת חומה קאמר דאסור כיון שאין כאן אונס וכמ״ש בההיא דבסמוך » (ט״ז ת״ה ס״ק ו) — and it seems to me to explain the words of the Tur [as speaking] of a surrounded city; in this he holds like the Rambam in seif ו, of which we spoke there: for one who goes out intentionally and enters a pen or an enclosure, we do not say that the whole city is like four amos, but only for one who went out under duress; here too, likewise: [taken out] by mistake, the whole city counts for him as four amos, but intentionally, it does not count so for him; and that is why the Tur said “beyond his four amos”, with a vav [at the end of the word “his amos”], to teach that even if he is in a private domain or in a surrounded city, he has only four amos. And I saw that the Rashal, in the chapter “Ein Tzadin”, siman 9, brings these words of the Tur, “and it is forbidden to move beyond four amos”, and writes on this: explanation, in a city that is not surrounded by a wall, etc.; and in my humble opinion it is as I wrote: he says it even of a city surrounded by a wall, that it is forbidden, since there is no duress here, as I wrote in the nearby case.
The Mishnah Berurah — on « אסור לאכלם »: « אבל לטלטלם מותר בארבע אמותיהן וכ״ז אם היו ע״פ השדה אבל אם הביאן בעיר המוקפת מחיצות אע״ג דעבד איסורא מ״מ מותר לטלטלן בכל העיר כולה בין שהוציאן שוגג בין שהוציאן מזיד » (משנה ברורה ת״ה ס״ק נ) — but it is permitted to move it within its four amos; and all this, if it was in the open field; but if he brought it into a city surrounded by partitions, although he committed a prohibition, it is nevertheless permitted to move it in the whole city, whether he took it out by mistake or intentionally.

“And some permit”. The seif writes: « ואם הוציאם במזיד אסור לאכלם אפי׳ מי שלא הוציאם ויש מתירים למי שלא הוציאם » (שו״ע או״ח ת״ה:ט) — and if he took it out intentionally, it is forbidden to eat it, even for one who did not take it out; and some permit it for one who did not take it out. Here are the texts.

The Beis Yosef — on « ואסור לאכלם אפילו לאחר שלא הוציאם » (בית יוסף או״ח ת״ה), words of the Tur on which he comments: « כ״כ שם הרא״ש ז״ל במזיד שלא במקומן אסורים כ״ל אפילו לאחר שלא הוציאם מדקתני במזיד לא יאכל ומשמע לכל אדם ולא דמי לבא מחוץ לתחום בשביל ישראל זה שמותר לישראל אחר דהכא איתעביד בהו איסורא דישראל הוציאם עכ״ל » (בית יוסף או״ח ת״ה) — so wrote the Rosh there: intentionally, outside its place, it is forbidden to all, even to another who did not take it out, since it is taught “intentionally, it may not be eaten”, which implies for every person; and it is not like what is brought from outside the techum for this Jew, which is permitted to another Jew, for here a prohibition was committed with it, since a Jew took it out — end of quote.
« אבל המרדכי כתב נראה לר״מ דלא אסור אלא למי שהוציאם אבל לישראל אחר שרי ולא חיישינן דילמא מפיק להו כי ההיא דהבא בשביל ישראל זה מותר לישראל אחר וכן משמע בתוס׳ לקמן עכ״ל » (בית יוסף או״ח ת״ה) — but the Mordechai wrote: it seems to Rabbi Meir that it is forbidden only to the one who took it out, but to another Jew it is permitted, and we are not concerned that he might take it out, as in the case of what is brought for this Jew, which is permitted to another Jew; and so it emerges from Tosafos further on — end of quote.
The Mishnah Berurah — on « אפילו מי שלא הוציאם »: « ואע״ג דפירות שהביא עכו״ם מחוץ לתחום אינו אסור רק למי שהובאו בשבילו הכא כיון דאיתעביד איסורא ע״י ישראל חמיר טפי » (משנה ברורה ת״ה ס״ק נ״א) — and although produce that a non-Jew brought from outside the techum is forbidden only to the one for whom it was brought, here, since the prohibition was committed by a Jew, it is more severe.
On « למי שלא הוציאם »: « ודוקא אם לא הוציאו בשבילו דאל״ה גם לדעה זו אסור ולדינא קי״ל כדעה ראשונה דאפילו למי שלא הוציאו בשבילו ג״כ אסור לאכול דהיא דעת רוב הפוסקים [א״ר] » (משנה ברורה ת״ה ס״ק נ״ב) — and only if he did not take it out for him; otherwise, even according to this opinion, it is forbidden. And for the law, we hold like the first opinion: even for one for whom he did not take it out, it is also forbidden to eat, for this is the opinion of most of the poskim [Eliyah Rabbah].
The Shulchan Aruch HaRav — in his seif 9: « וְאִם הוֹצִיאָם בְּמֵזִיד — אֲסוּרִין אֲפִלּוּ לְמִי שֶׁלֹּא הוֹצִיאָם בִּשְׁבִילוֹ. וְאֵינוֹ דוֹמֶה לְבָא מִחוּץ לַתְּחוּם עַל יְדֵי נָכְרִי, שֶׁמֻּתָּר לְמִי שֶׁלֹּא הוּבָא בִּשְׁבִילוֹ, שֶׁכֵּיוָן שֶׁנַּעֲשָׂה הָאִסּוּר עַל יְדֵי יִשְׂרָאֵל, הֶחֱמִירוּ יוֹתֵר לֶאֱסוֹר לְכָל אָדָם » (שו״ע הרב ת״ה:ט) — and if he took it out intentionally, it is forbidden even to one for whom he did not take it out; and it is not like what is brought from outside the techum by a non-Jew, which is permitted to one for whom it was not brought: since the prohibition was committed by a Jew, they were more stringent, forbidding it to every person. The Rav does not write the opinion “some permit”: see Level 4, point י״ג.

8. Summary of the shitos and halachic conclusion

The foundation — the chapter “Mi She'hotziuhu” of tractate Eruvin: the Mishnah (4:1) and the Gemara of 41b-43b for se'ifim ד to ט, the Mishnah (4:11) and the Gemara of 52b for se'ifim א to ג. In the order of the se'ifim:

For halachah lema'aseh, consult your Rav; the custom of the community also counts.


Going further

Level 3 — Synthesis: a structured recap, memory aids, decision trees and practical rules.
Level 4 — Daat HaRav: the shitah of the Alter Rebbe (Shulchan Aruch HaRav, 9 se'ifim on this siman).

~ ~ ~ ~ ~
DAAT · Rav Yossef Haim Samama

Siman ת״ה · Level 2 — Lamdan
♥ Support DAAT
📖Join a chavrusa