"yaz" is the root for the verb "yazmak". As you know root of a verb is also its imperative form of second person in Turkish so "yaz!" also means "write!".
"Yaz" is also a noun in Turkish meaning "summer" but this has nothing to do with the verb form, nor derived from there. :)