I looked over previous bugs and issue reports and this seems to have been an issue in the past, but has resurfaced in my game. I spawned it at spawn, because I like to have a challenging fight, got my butt kicked, but returned with my backup loot and some more potions to defeat it. But, after it flashed death red and turned sideways, the heads it shot and land destruction attacks continued, to no end. It's still stuck this way on my friend's realm. Upon further returns to the site, the wither is visible, but completely invincible.
Thank you for your report!
We're actually already tracking this issue at MCPE-40881, so we will resolve and link this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature, to see if the issue has already been mentioned.
Suggested search terms for JIRA desktop view:
{color:#009900}mcpe unresolved wither* invi*{color}
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki