to flip out, to lose your cool, to lose control, go bananas
originating from Captain Kirk due William Shatner's penchant for over emotive acting:
Capt. Kirk to Spock: "All right, you mutinous, disloyal, computerized half-breed. We'll see about you deserting my ship."
"Rabbs kirked out when he ate the chocolate matzah."