Try these methods:
Gradual Exposure: Leave for a few seconds and gradually increase time if the bird stays calm.
Positive Reinforcement: Praise and treat quiet, calm behavior.
Distractions: Offer toys or treats before leaving.
Hiding Spot: Provide a covered cage or dark corner for security.
Professional Help: Consult a veterinarian or animal behaviorist if needed.
Be consistent, patient, and ensure your parrot gets enough attention and exercise.