This one comes up often. It's a slightly gray area. There are two issues:
Retrievable cards
Generally, cars that are "retrievable" can be live. Despite what people say, "touching the much" literally means nothing in a casino. If you didn't say "fold" and you're still holding your cards, they are usually live.
Induced Action
However! If your balk caused another player to act, you might very well have a dead hand. Many houses have a "forward action" rule. If your forward action [either putting chips forward or your cards] - in turn - caused another player to act - in turn - your forward action is binding.
So if you're facing a bet, and you push chips forward, it's either a call or a raise if someone acts behind you in turn. If, facing a bet, you push your cards forward, causing the player behind you to act, your hand is dead. In a heads up situation, your cards should be live.
HOWEVER.... This is a really tricky rule.
If this happened to me [well it HAS happened to me], here is what you do: Just squat. Refuse to give up your cards, seat, or money. Call the floor, call the shift, and finally call security. You have a solid chance of winning this argument. If it was a cash game, and they are taking the pot, I'd tell them I'm taking my live hole cards home with me.