The term "Torah,” and even "Sefer Torah,” appears many times in Tanakh, but in most cases, the plain meaning of the text is not referring to the Five Books of the Torah. The word "Torah" actually has multiple meanings in Tanakh, and only in some instances does the word refer to a written text.

Courtesy of the Virtual Beit Midrash, Yeshivat Har Etzion