Reference for Taanit 27:14
בשני דר' יהודה נשיאה הוה צערא
Itch, Locusts, Flies, Hornets, Gnat and the invasion by Snakes and Scorpions they did not sound the alarm, but they cried aloud? And as crying can only be by mouth, the sounding of the alarm must consequently be by the shofar! - This forms a subject of dispute amongst the Tannaim, for it has been learnt: In the case of these [calamities] they sound the alarm even on the Sabbath ; when a city is surrounded by a ravaging troop, or is in danger of inundation by a river or when a ship is foundering on the sea, R'Jose said: [We may sound the alarm to summon] help but not for intercession! Now with what [is the alarm sounded]? Shall we say by the shofar? Is then the sounding of the shofar on the Sabbath permissible? It must therefore be by the recital of the 'anenu, and this is termed: 'Sounding the alarm'. This proves it. In the time of R'Judah the Prince<span class="x" onmousemove="('comment',' Text reads, Judah Nesi'ah. Nesi'ah, is the title by which the Patriarch Judah III (end of third century) was known.');"><sup>9</sup></span> there was distress<span class="x" onmousemove="('comment',' Not a drought, but some other kind of visitation.');"><sup>10</sup></span>