Stop syncing photos from iphone, is it still saved on icloud.com?
When you sync your photos to iCloud , it will be automatically get stored in the iCloud drive. Once you stop syncing your phone with iCloud drive , the photos which you already synced will be there , those will not be deleted with user permission.