After coming back from a year of parental leave I didn't lose my job.
My previous project came to an end just before I went on parental leave and the company couldn't secure new projects locally.
But because I was involved ipartially in a different department before, that department secured a internal budget for me as a Subject Matter Expert.
Now I'm advising on that topic and was also brought in to a big internal project, so my job is secured for some time now.
For me it's extra difficult because I moved to a different country and have a really hard time learning the language, which is a must to get a different job here.