Render overwritten issue
You must have a path for every different kind of render:

A folder for the image sequence.

A folder for the composites.

And the final render (probably .mp4 or .mov) anywhere.

It's not good to render different renders at the same location because it will be overwritten if the file extension were the same. Eg: png.

Last thing: You cannot recover overwritten files.