You got caught by your own trap, hehe
The problem is here that your trap above all else, kept you from getting getting any read. There's no telling what he can hold : set, double pair AT (or worse) or a worse ace ...
Whenever I try a play like that and things suddenly completely don't go how I'd expected them to go, I'd be inclined to give it up ... however, here, I think you can't. Why would he bet a set like this on such a board ? If he got AT or A5 (bah), well, too bad ... against relatively unknowns, you can't give up TPTK in a reraised pot to an overbet without information and a draw-free board. If you had obtained information on the flop or preflop, you might have been able to avoid an all-in with that information ...