Valerie Harper, who has been battling a rare cancer of the brain for more than two years, was taken Wednesday evening to York Hospital in York, Maine, after reporting that she was not feeling well. The hospital is a few miles south of where she is appearing in an Ogunquit Playhouse production of the Gershwin musical Nice Work If You Can Get It. Harper was discharged Thursday morning, the hospital said in a statement, which did not  provide information about her illness.

The Playhouse, a venerable stock theater on Maine’s south-east coast, said in a statement on Thursday that Harper is “resting comfortably.” The 75-year-old actress, best known for her role as Rhoda Morgenstern on The Mary Tyler Moore Show and its subsequent spin-off, Rhoda, has been appearing in the musical, with Sally Struthers (All In The Family).

In the show, Harper plays Millicent Winter, the wealthy, domineering mother of the feckless male lead. She doesn’t appear until Act II. The production is slated to run through August 15. There was no word yet about when Harper will return to the show.

Nice Work If You Can Get It“Valerie Harper was taken to a local hospital as a precaution before her July 29 evening performance of Nice Work If You Can Get It, at the Ogunquit Playhouse, after reporting that she was not feeling well,” Bradford T. Kenney, Executive Artistic Director, said. “The audiences and all of us here at the Playhouse are greatly enjoying our time with Valerie here in Ogunquit, and we are encouraged that she is feeling better.”

In 2010 Harper won a Tony Award nomination for her portrayal of Tallulah Bankhead in Looped.