Which is the closest analog to a categorical imperative as the phrase is used in ethics? Shut the door. If you want to hear, shut the door. Did you shut the door? She shut the door.
Explanation:imperative is a command to do something if you want to get a certain result and categorical means it's unconditional hence if you don't shut the door you will not hear.