How long for 5mg of compazine (prochlorperazine) to leave system? Had for migrain cocktail, feeling restless/anxious!

Liver/kidney at work. This medication has to be metabolized in the liver, and there are both biliary and kidney elimination routes, after liver clearance. Therefore, it might take 8 hours or longer. However, side effects might clear when blood level is gradually lower.