Parrots perceive being on your shoulder as sharing a perch with you. If you try to remove it, it may feel threatened and bite you. It's recommended to avoid letting your parrot on your shoulder to prevent this behaviour.