(a) korkudan yitirmek/kaybetmek.
frighten someone out of his wits: birinin ödünü patlatmak.
It nearly frightened him out of his wits (or his skin): Ödünü patlattı/onu çok korkuttu. (b) korkutup engel olmak/alıkoymak.
The presence of police frightened many criminals out of attempting further crimes.