I think 2barrelling is good here.
The cbet/bluff on the river was maybe overplayed IMO. Especially because CO's short stack is an indicator that he/she is not a good player. Could be a calling station that can't lay down mid-strength hand.
On the other hand, villain only has a 1/2 pot size stack left. Ace high has marginal SD value. I think it is a negative freeroll situation and maybe it is even better to bet. X/c is not an option, IMO. Only alternative is x/f.
Pacific Poker - $0.02 NL FAST (6 max) - Holdem - 6 players
Hand converted by PokerTracker 4
BTN: 81.5 BB
Hero (SB): 146.5 BB
BB: 125 BB
UTG: 100 BB
MP: 36 BB
CO: 53 BB
Hero posts SB 0.5 BB, BB posts BB 1 BB
Pre Flop: (pot: 1.5 BB) Hero has A♣ K♣
fold, fold, CO calls 1 BB, fold, Hero raises to 5 BB, fold, CO calls 4 BB
Flop: (11 BB, 2 players) 7♥ 2♣ 8♣
Hero bets 7 BB, CO calls 7 BB
Turn: (25 BB, 2 players) 9♠
Hero bets 16.5 BB, CO calls 16.5 BB
River: (58 BB, 2 players) 6♥
Hero bets 38 BB, CO calls 24.5 BB and is all-in