I'm pretty sure you can just leave it there. I have a NY 529 and I live in PA. I've always lived in PA, but I don't think your state of residence matters in terms of starting or continuing to hold the 529. And as far as I know that would avoid recapture. You'd just have to deal with the issue of managing multiple accounts if you wanted to open up a 529 in your new state. (Or if you move to PA, you can continue to contribute to the NY plan- you can deduct contributions to any state's 529 in PA. But there's not 401K contribution deduction at the state level, which stinks.)