In a way that shows wild excitement, panic, or desperate energy; moving or acting with extreme haste and urgency.
From 'frantic,' which comes from Middle English and Greek 'phrenitis' (inflammation of the brain), implying a state of mental distress that makes you act wildly.
Try Another Word