Summary includes a shortcode when displayed

Hello all,
I am using an automatic summary field. The problem is that in some posts I use a container shortcode which helps display image in a figure HTML tag. And the figcaption within the HTML shows up in the summary, which I do not want. I want (if possible) that summary should skip the shortcode all together . Can this be achieved in some way?