On March 30, 2021, CBS renewed the series for a fifth, sixth, and seventh season. The fifth season premiered on October 7, 2021. The sixth season premiered on September 29, 2022. The seventh season was on hold due to 2023 Writers Guild of America strike. In October of that year, writing resumed when the strike ended. The seventh and final season premiered on February 15, 2024. On November 14, 2023, CBS announced that the series would end after seven seasons, with the series finale airing on May 16, 2024. The final season consisted of a total of 14 episodes, and it finished filming on April 16, 2024.