It literally means just that: "to disengage, to take off the axis, from the pivot, from what it keeps fixed for operation", but it is used almost exclusively as a locution for its figurative sense; it would be equal to "driving someone crazy, making them lose their sanity." To see take out, quicio, "out of madness".
* Only one "like" per meaning and day, the more "likes" the meaning will appear higher in the list