I think he would have known he was out the door since part of the reason Musk was saying he was buying Twitter in text messages was that he thought Agrawal wasn't up to the job. With a 52 million payout, I also think he wasn't overly worried about how he would do after Twitter.