Let me give you an example of my confusion, using the example of compressing a long slowly evolving then slowly dropping off pad/string sound.
So the sound starts, slowly increases in amplitude until it reaches the threshold, and then after the Attack time the compressor starts to attenuate the signal. Let's say the ratio is 2:1, so for every db over the threshold the amplitude is only increased by half a decibel.
Okay, all fine so far. Now then.......
Let's say the volume has risen 4 db over the threshold, so the compressor is outputting a signal 2db over the threshold. Now if the input signal drops down 2 db........ what happens??

I used to assume that the signal would drop by 1 db (to follow the ratio), in which case when you go drop back past the threshold amount the input would be back to the same volume as the post-compressor level and the Release setting is irrelevant.
So something else must be happening - I'm guessing that if signals OVER the threshold drop back down (but not under the threshold) then the same compression still remains. Is this right??
I know at the end of the day, all that matters is 'does it sound right', but I'd really like to understand this as it's been puzzling me for years. Honestly!!

I hope my explanation made some sense, and that someone can be arsed to reply!! Ta..