A BAND OF SOLDIERS (Yerushalmi Halachah 8 Daf 34b)
משנה בולשת שנכנסה לעיר בשעת שלום חביות פתוחות אסורות וסתומות מותרות
(Mishnah): If a band of soldiers entered a city; in a time of peace, the open barrels are prohibited and the sealed barrels are permitted.
ובשעת מלחמה אילו ואילו מותרות שאין פנאי לנסך:
In a time of war, both are permitted as there is no time for them to perform libations (to their idol).
גמרא בשעת השמד הכל אסור שאי אפשר שלא היה שם ישראל שלא עבדה על כורחו
(Gemara): At a time of Shmad (the gentiles' intentional destruction of the religion, where people are forcibly required to break the Torah), all barrels are prohibited, as it is impossible that there wasn't at least one Jew who served it against his will.
הדא אמרה עבודה זרה שעבדה ישראל אינה בטילה לעולם
This shows that an idol of a Jew can never be annulled.
אמר רבי יוסי ואת שמע מינה ע"א שעבדה ישראל על כורחו אינה בטילה לעולם.
(R. Yosi): This shows that an idol that was served by a Jew against his will can never be annulled.
א"ר יוחנן לית כאן אסורות אלא מותרות
(R. Yochanan): (In the Mishnah's case of a band of soldiers, that if they came at a time of peace, the open barrels are prohibited, that is only when it is not a time of Shmad; otherwise) if it was a time of Shmad, it could be that some of the soldiers were Jewish and there is a double doubt - perhaps a soldier touched the wine and even if he did, perhaps he was Jewish - therefore, the wine is permitted.
א"ר זעירא אית כאן אסורות [דף לה עמוד א] דאין מטה ביה הוא מודע ליה ואין לא מטה ביה לא מודע ליה דלא יהא שלים ליה טיבו.
(R. Zeira): (Disagrees...) Even at a time of Shmad, they are still prohibited. If a Jewish soldier would have touched the wine, he would have informed the owner and if he had seen a gentile soldier touching it, he would not have needed to inform the owner, as the owner would anyway assume it to be prohibited.
רבי אמי בשם רבי יוחנן בשלום בולשת ובמלחמת בולשת. חיויא מי פרי בתריה נפל לגובא אתא עובדא קמי רבנן ואכשרון אמרין אין פנאי להטיל אירס:
(R. Ami citing R. Yochanan): The case of a band of soldiers in the Mishnah applies to both the cases of war (when they are enemy soldiers) and peace (when they are soldiers of that country). There was once a gentile who was fleeing from a snake and he fell into a vat of wine. The case came before the Rabbis, who ruled that the wine was permitted, since the gentile did not have time to make it Yayin Nesech because he was fleeing from the snake.
PAYMENT WITH YAYIN NESECH (Yerushalmi Halachah 9 Daf 35a)
משנה אומנים ישראל ששילח להם נכרי חבית של יין נסך מותר שיאמרו לו תן לנו את דמיה אם משנכנס לרשותן אסור:
(Mishnah): If an idolater sent Jewish workers Yayin Nesech as payment, they may say to him, "Give us its monetary value". But once they have taken possession of it, they may not do this.
גמרא ואין אסור משום יין נסך
(Gemara) Question: Why can they say "Give us its monetary value" - isn't it then considered like payment for selling Yayin Nesech to an idolater; so why is the money permitted?
תני בר קפרא במשלח בבתים:
Answer (Baraisa of Bar Kapara): The case is when the employer sends the wine as payment to the workers' homes, (saying that they can either accept is as payment or refuse it and accept money instead.)