Matthew Perry impressed with his brief stint on NBC’s political drama The West Wing but the Matthew Perry West Wing character was totally underused. The West Wing had a lot of great characters come and go after just one season or a handful of episodes. In fact, it was such a common thing that the trend even had its own name in The West Wing fandom; "going to Mandyville." This is a nod to the abrupt departure of Mandy Hampton (Moira Kelly) after season 1, with the term referring to West Wing characters whose tenure ended suddenly and without explanation.
https://screenrant.com/west-wing-matthew-perry-joe-quincy-wasted/