To pull a rabbit out of the hat!
This expression is used to describe something that is unexpected! Think about a magician pulling a rabbit out of his hat – it is always a surprise!
Expressions are a fun thing to learn and really useful part of English! Why don’t you try to incorporate some expressions into your daily English?