How many years of an activity will it take muscle and mind memory to remember indefinitely?

So you took Martial Arts or ballet for 5 years...how much of a lengthy experience stays with you...? Cognitively... Like, would being a good swimmer for years save you if you got pushed overboard on an ocean-liner?