529 pa

If I switch beneficiaries from my 529, does that restart the clock for 529 for waiting15 years to transfer to a roth ira or is it null and void for roth ira?