Which figure of speech is used in this text?
I thought I'd forgotten how to play with a boomerang, but then it came back to me.

 - pun
 - personification
The text uses a pun, a word or phrase that humorously suggests more than one meaning.
It came back to me means that I remembered something. It also means that the boomerang came back after it was thrown.