I'm using the 5.4 Lightroom version, and the 23.4.1 Photoshop version.
I tried both ways, I used the File > Save, and checked my Lightroom gallery. Then the File > Save as an option, and then also checked my Lr gallery, and lastly, tried closing the document from the (X) on the document tab, but in neither ways it worked.
Also, I tried changing the default save to cloud experience setting, and yet it does not work. Tried saving on my computer and on cloud.
Furthermore, although I don't like LrC by its layout, I tried on it too, but it still does not work.
Likewise, I watched several videos on internet, and read some articles here on the community, and tried downloading a last version of photoshop and neither does it work.