undergo metaphorically

Translations
переживать метафорически
The character undergoes metaphorically a transformation in the story.
Персонаж переживает метафорически трансформацию в рассказе.