DO i have to sell the hat to cash out?
Nope. Your principal remains staked, and you keep earning. If you ever want to exit, you can resell the hat, but payouts only go to the current owner.
Is this a real government agency?
Absolutely Not. come on, now.