“اعملوا ما شئتم” necessarily grants permission and can never express a threat.
Inshāʾ: Requestive and Non-requestive Forms, Imperative Constructions and Rhetorical Functions
Inshāʾ: Requestive and Non-requestive Forms, Imperative Constructions and Rhetorical Functions