When using ShortPixel Image Optimizer, your original images are physically replaced with their optimized versions. If you leave the backup option active, then the original files will be saved in a separate folder, so you can easily restore them if required.
When using ShortPixel Adaptive Images, your original images remain untouched, because the plugin works on-the-fly: How does ShortPixel Adaptive Images work?