Named parrots lose their name when mounting a player's shoulder (can be seen when looking at the ShoulderEntity NBT data) and therefore have lost it when dismounting again.
- Spawn a parrot and tame it
- Name the parrot
- Walk into the parrot to make it mount your shoulder
- Jump to make it dismount