Do you know ghouls from goblins and ghosts?
recorded earlier in the mental sense of "to disorder" the mind, etc. (1612) than in the literal one of "to take (a door, etc.) off its hinges" (1616); from un- (2) + hinge (v.). Related: Unhinged; unhinging.