Gabriel put $6000 in a 2-year CD paying 4% interest, compounded monthly. After 2 years, he withdrew all his money. What was the amount of the withdrawal?