Ok, i think you have made a couple mistakes here.

Preflop - I would either raise or fold here, by limping in you are now in at least a 4 way (and proved to be 5 way) pot with A9os. There are not very many flops where 5 handed you would feel comfortably in the lead. I personally would raise in this spot and get it down to 2 or 3 handed.

Flop - Ok you have flopped toptop and are likely infront here however its not that stong of a hand. I like the raise to 1200 as again you are attempting to get rid of people. There are not a lot of turn cards that are safe cards here. i think with the exception of a 3,4,9 or A (maybe a 2) we dont like any other turn.

Turn - When he open shoves here the very least i am putting him on is 2 pair. In fact it screams set to me and he is trying to push away any straight draws. The mistake here is calling the 5k chips with only A9. Forgetting that we are ahead, i think the only thing you are beating here is a bluff and calling away half our stack hoping that he is bluffing is not good poker.

River - Ok you called and he was bluffing and he got lucky, however i think if you run the numbers he does have something like a 21% chance of winning which if you are bluffing is a pretty good shot to win if you get caught.

So to sum up i think A9os really shouldnt be played 5 handed preflop and toptop is not worth half our stack on this board.