DNA annealing helicase and endonuclease required to maintain genome stability at stalled or collapsed replication forks by facilitating fork restart and limiting inappropriate recombination that could occur during template switching events. Recruited to the sites of stalled DNA replication by polyubiquitinated PCNA and acts as a structure-specific endonuclease that cleaves the replication fork D-loop intermediate, generating an accessible 3'-OH group in the template of the leading strand, which is amenable to extension by DNA polymerase. In addition to endonuclease activity, also catalyzes the fork regression via annealing helicase activity in order to prevent disintegration of the replication fork and the formation of double-strand breaks. Interacts (via PIP-box and RanBP2-type zinc finger) with PCNA (when PCNA is polyubiquitinated via 'Lys-63'-linked polyubiquitin). Following DNA damage, recruited to sites of DNA damage and stalled replication forks by polyubiquitinated PCNA. The PIP-box mediates the interaction with PCNA, while the RanBP2-type zinc finger mediates binding to 'Lys-63'-linked polyubiquitin. In contrast to classical helicases that unwing DNA, annealing helicases rewind it. Belongs to the SNF2/RAD54 helicase family.