のことが頭から離れない

can't get ... out of my head

→ の
phrase Rare #36,494
can't get ... out of my head Used after a person or thing to say that you can't stop thinking about them or it. Literally, it means that they or it won't leave your head.
JA: 昨日見た映画のことが頭から離れない。
EN: I can't get the movie I saw yesterday out of my head.

のことが頭から離れないんだ

I can't get you out of my head.

盗まれたお金のことが頭から離れない

I can't stop thinking about the money that was stolen.

彼女のことが頭から離れない

I can't get her out of my head.

トムのことが頭から離れない

I can’t get Tom out of my head.