What am I?

When set loose I fly away. Never so cursed as when I go astray.