Wiktionary
scare out of one's wits
vb. (context idiomatic English) To frighten someone to such an extent that they behave irrationally