Shulchan Arukh, Orach Chayyim 586:21 (excerpt):
הָיָה הַשּׁוֹפָר בְּרֹאשׁ הָאִילָן ...וְאֵין לוֹ שׁוֹפָר אֶלָּא הוּא, אֵינוֹ עוֹלֶה בָּאִילָן
If a shofar was in a tree ... and he has no other shofar besides this one, he does not climb the tree.
Several years ago, between Mincha and Ma'ariv on the 1st day of Rosh Hashanna, our rabbi was reading this paragraph with the cong. A man asked the rabbi, "What would a shofar be doing in a tree?" The rabbi had no answer.
Now, I know that M.Y. is not a substitute for my rabbi :-) But, I'm not asking for psak, here, as we all know what the ruling already is. But, I assume that the Shulchan Aruch stated this rule b/c in their time, at some point, a shofar was caught in a tree, even though we may not have that happen now. (I once planted a shofar, but, alas, no shofar tree. My kids were disappointed!)
So. I repeat the old man's question - how would the shofar have gotten in the tree?