Those images are what I’m after, thanks.
As you guessed, Zwift records the time you spent in the pen.
The Zwift screenshot you attached is just moments after you crossed the finish arch. If you continued along on a cooldown, the extra time & distance will also count.
The total distance that was saved to our server is going to be shown on your Activity history on my.zwift.com. What does the session show for time & distance on my.zwift.com?