Since there is no expression to get the pin distance, you'll want to keep track of it manually in a variable.
Set sprite.pinDistance to max(0,sprite.pinDistance-retractionAmount) (or use a tween here for control of the amount over time)
Sprite - Pin - Set Pin Distance to sprite.pinDistance