"To let the cat out of the bag" means
ATo release an animal
BTo reveal a secret ✓
CTo cause trouble
DTo lose one's temper
Explanation
Option B (To reveal a secret) is the correct meaning of the word as it is used in the given context.
Option B (To reveal a secret) is the correct meaning of the word as it is used in the given context.