Rarely. Cataract surgery could increase the risk of retinal detachment in the past, but it has become much less likely when using modern surgical techniques.