When you enter a nether portal while using the shield and exit the other side the shield will equipt but will still block any attack while being able to attack back and run around. The glitch breaks if you use the shield or eat any food item. This shield glitch has been traced back to 1.9 where the shield was added in February 29, 2016.
Duplicate of MC-86252