Imperative mood has 2 different meanings across 1 category:
Noun
a mood that expresses an intention to influence the listener's behavior
The grammatical mood expressing a command.