Equity: Walking away, your stake should be whatever you've veseted -- this is why you have vesting. If you purchased your shares (I hope!), then there's nothing more to do. If they were options, ask for conversion from ISO to NQO (IRS-mandated) and an extension (10yr) on the exercise period. If the post-pivot company wants, they can keep you on as an advisor for a period at some reduced equity vest (e.g. 1/20th your founder vest). This is a nice way to transition and can be worthwhile in some scenarios.
Cash: You should expect none. If you all documented the unpaid work in the form of contractual deferred compensation (unlikely), then you can insist this be paid out as a requirement of labor laws. If it wasn't documented, then it's a sunk cost. Cash is the company's life blood, so they cannot waste it on employees that are departing or terminated. You shouldn't expect an exit package.
Realistically... If you own 10% in a "new" company (post-pivot), this is a great position for you. Their alternatives are (1) to nuke the cap table in a reset and pivot without you; it's not really worthwhile for anyone to duke it out this way; (2) if they're itching to buy you out (unlikely), you can consider whatever offer they put forward but you have no legal obligation to accept; or (3) everyone just accepts the current state of affairs as sunk costs and parts amicably. (3) is best for everyone involved -- it's mutually non-ideal.