What is the imperative mood?

The imperative mood is a verb form used to make a demand, issue a warning, or give advice or instructions.

The subject of sentences in the imperative mood is implied to be the second-person pronoun “you,” but the word usually isn’t actually included (e.g., “close the door”).