How so? Do they pay you back ssn taxes if you leave?
No, you just get your your retirement pension once you become eligible age-wise. You do, however, need to earn at least 40 credits throughout the years, which translates to at least 10 years of employment in the US.