In modern Hebrew, fennel is "shumar," but don't know whether this traditionally referred to fennel or to another plant (shumar has a Talmudic reference, appears in medieval medical text). I suspect its modern meaning is influenced by the Arabic equivalent.
See here: www.balashon.com/2022/06/sham...
balashon.com
shamir, shumar and emery
A blog about the etymology of Hebrew words and phrases and how they relate to English and other languages.