What is the verb mood of the sentence?

Wear your coat when you are in the snow.

The verb mood of the sentence is imperative.