In relation to Meghan's departure from the series, revelations disclose that her departure was preordained even prior to her introduction to Prince Harry. The architect behind the show, Aaron Korsh, had resolved to write off her character, Rachel Zane, a year before Meghan embarked on her relationship with Harry.
Korsh elucidated that his decision was rooted in respect for Meghan's private life and the burgeoning connection between her and Harry. Consequently, a seamless exit was devised for Rachel Zane's character, who, in the storyline, united in matrimony with Mike Ross, portrayed by Patrick J. Adams, during the seventh season. The two relocated to Seattle to establish the Eagle Clinic.
This determination was solidified long before Meghan's actual departure, dispelling any misconceptions that her exit was influenced by a termination or her association with Prince Harry. Interestingly, during Meghan and Harry's wedding, several "Suits" cast members received invitations to the wedding ceremony but not to the subsequent evening reception. This timeline bolstered the narrative that Meghan had long left the show prior to initiating her relationship with Harry.
Meghan Markle's departure from "Suits" was a creative judgment executed by the show's creators well in advance of her introduction to Prince Harry, remaining wholly unrelated to her affiliation with the royal family.