I would never risk my tourney life with top pair/weak kicker, folding was your only option , on to the next hand...
If you are going to shove make sure you get it in good.