In the sentence, "The cat, which had been missing for a week, finally returned home," what does the relative clause "which had been missing for a week" modify?

The cat
Home
Missing
Had been

The relative clause "which had been missing for a week" modifies "the cat."