How to stop synching photos

How do you stop synching photos between your iPhone and ipad without deleting the existing photos. Turning icloud photo off brings up a message saying all shared photos will be deleted. I just want to stop synching future photos not the ones already on each device.

Original thread: https://forums.imore.com/threads/how-to-stop-synching-photos.374074/