https://www.fia.com/sites/default/files/2021_formula_1_sporting_regulations_-_iss_13_-_2021-12-08.pdf
Section 48.12
Unless the clerk of the course considers the presence of the safety car is still necessary, once the last lapped car has passed the leader the safety car will return to the pits at...