Changing jobs with Paid Family Leave time remaining

Does anyone know what happens or how paid family leaves works if you quit your job and start with a new company?

I'm in NY if that makes a difference.