It should go back as long as the test stays below the yield point:
https://en.wikipedia.org/wiki/Yield_(engineering) ... but there is also fatigue:
https://en.wikipedia.org/wiki/Fatigue_(material) . This is just for raw material though, I'm not sure how it works on the connectors.