A woman is allowed to leave (go back home) if she gets menses (after Tawaf-Al-Ifada). Ibn `Umar formerly used to say that she should not leave but later on I heard him saying, "She may leave, since Allah's Messenger (ﷺ) gave them the permission to leave (after Tawaf-Al-Ifada)."
Reference: Sahih al-Bukhari 329, 330 In-book : Book 6, Hadith 34 USC-MSA web (English) : Vol. 1, Book 6, Hadith 326 (deprecated)
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.