Nevertheless, it is not so, for our sages, of blessed memory, said (42b) that specifically when one rested within the airspace of the partitions while it was still day, they are considered as four amot, but when one did not rest within the airspace of the partitions—they are included in the count. And the reason appears to be that since the time of acquiring the resting place is at the onset of the Shabbat, for then the boundaries of the techumim are established, therefore if one rested then within the airspace of the partitions—they became as four amot. But if at the time of the onset of the Shabbat one was not within the airspace of the partitions, and behold this place was for him part of the count of the techum—it is impossible to change during Shabbat, and this is according to the way we say: "Shabbat, since it was forbidden—it remains forbidden." And even though regarding one who went outside the techum, who has only four amot, if they placed him during Shabbat within the airspace of partitions—they are considered only as four amot, as will be explained in siman 405, this is because of his exigency, as he has only four amot, they made this as four amot. But this person who has a complete techum—we do not consider it for him as four amot when he did not rest within the airspace of partitions. (Magen Avraham) Furthermore, according to what we explained, this is no comparison at all, for here the primary reason is that this place itself was established at the onset of Shabbat within the count of the techum, which is not the case there.
ומכל מקום אינו כן, דחז"ל אמרו (מ"ב:) דדוקא כששבת באויר המחיצות מבעוד יום נחשבים כד' אמות, אבל כשלא שבת באויר המחיצות - עולים בחשבון. והטעם נראה, דכיון דזמן קניית שביתה הוא בכניסת השבת, דאז נקבע גבולי התחומים, ולכן אם שבת אז באויר המחיצות - נעשו כד' אמות. אבל אם בשעת כניסת השבת לא היה בין אויר המחיצות, והרי המקום הזה היה לו מחשבון התחום - אי אפשר להשתנות בשבת, וזהו על דרך דאמרינן: 'שבת הואיל ונאסרה - נאסרה'. ואף על גב דבמי שיצא חוץ לתחום, דאין לו אלא ד' אמות, אם נתנוהו בשבת בין אויר מחיצות - אין נחשבים רק כד' אמות, כמו שיתבאר בסימן ת"ה, זהו מפני דוחקו שאין לו רק ד' אמות, עשו זה כד' אמות. אבל זה שיש לו תחום שלם - לא נחשוב לו כד' אמות, כשלא שבת באויר מחיצות. (מג"א) ועוד, דלפי מה שבארנו אין זה דמיון כלל, דבכאן עיקר הטעם שהרי מקום זה עצמו נקבע בכניסת השבת בחשבון התחום, מה שאין כן בשם.