Is there a tax exemption I can claim since I took some of my retirement because I was out of work to be with my mother as she was dying?

Will I still be penalized for taking some of my Retirement early?