It would've been better to find a spot to shove way before you got down to 6 BBs. 5 after you posted the BB.
In this situation, given my stack size and how much dead money is in the pot, I shove PF with my remaining 5 BBs. Theres 4100 in the pot and thats ~95% of your remaining stack. So, picking that up would be huge.
5 BBs might be just enough fold
equity since no one has really shown any strength preflop. And there is also the concern that if a player cold calls your shove, another player behind them might 3bet. So, that could deter a player from cold calling with a marginal hand. So, there is a chance you could pick it up preflop.
And if you are called, unless a player a PP, you aren't too bad of shape. There aren't a lot of
hands with a 5 or 2 that is going to comfortable call you here after limping in, except for maybe 55 or A5s. Maybe 56s, but probably only by player 9 since they have the largest stack. And that might be a bit loose. The other players probably wouldn't as calling with 56s is risking a huge chunk of their stack with just 6 high. So, you pretty much have live cards and against any non-paired hands that doesn't include a 5 or 2 (again, not a lot of hand combinations your opponent will call you with that include this), you have ~35% equity. Even if your opponent limped in with AQ vs your 25, you have 35% equity. That's enough for me to get it all in to either take it down preflop or hopefully isolate with 1 player.
It's a bit risky and others may not agree with that, but if I'm down to 5 BBs behind and I'm giving this great chance to pick up a huge pot uncontested for a double or even triple up, I'm taking it.
As played, you have shove the flop, but it's likely you have to fade a lot of cards and it's guaranteed you're getting called by anyone who hit that flop strong. You're practically drawing to 3 outs with a 4 for the straight, minus the 4c since it completes a flush.
I think you have a better chance of winning shoving this hand PF, given the situation and reasoning above than shoving this flop.