From G1537 and G2476; to put (stand) out of wits, that is, astound, or (reflexively) become astounded, insane: - amaze, be (make) astonished, be beside self (selves), bewitch, wonder.
Meanings (from Abbott-Smith's lexicon)
1. causal in present, imperfect, future, first aorist, to put out of its place; figuratively, ἐ. τινά φρενῶν, to drive one out of his senses, hence, absolutely, to confound, amaze: with accusative of the person, Luke 24:22, Acts 8:9, 8:11.
2. Intransitive in passive and middle, also in second aorist, perfect, pluperfect active, followed by ἐκ or with genitive, to stand aside from, retire from; especially τ. φρενῶν, to lose one's senses (in Euripides), hence, absolutely:
But there was a certain man, called Simon, which beforetime in the same city used sorcery, and bewitched the people of Samaria, giving out that himself was some great one:
But all that heard him were amazed, and said; Is not this he that destroyed them which called on this name in Jerusalem, and came hither for that intent, that he might bring them bound unto the chief priests?
And they of the circumcision which believed were astonished, as many as came with Peter, because that on the Gentiles also was poured out the gift of the Holy Ghost.