Sarah Hyland has returned to the gym following her hospitalisation.

The 'Modern Family' star spent some time in the ward to receive medical treatment for an unknown condition but has now been given the all clear to get back to exercising.

She shared on her Instagram story: ''Workout before work. I'm normally shaky, but I'm even shakier from working out ... Finally have clearance to workout. Abs here I come. It's been a while. Strong > skinny.''

Sarah had to be ''torn from work'' to receive medical treatment, even though she didn't want to take a break from her job and she said at the time that she was ''very grateful'' to have been looked after because her health is a priority.

She shared a candid photo of herself in a hospital gown and wrote: ''Sometimes a selfie is more than just a good angle or feelin cute. This time for #nationalselfieday I've decided to share my truth. As painful as it is. So here is my face that was torn from work against my will. But I'm very grateful it was. Health should ways come first #stayhealthymyfriends (sic)''

She also shared a video of her dog licking her face, which had been filmed shortly before she was taken to hospital.

She added: ''This was taken this past Sunday. Day before hospitalization. She was literally telling me to get treatment. Can't wait to come back to my precious angel princess. She's perfect and knows exactly what I need at all times.''

It is not known why Sarah sought treatment but she has been open about her health struggles in the past and previously revealed she was diagnosed with kidney dysplasia as a child and received a kidney transplant in 2012.