Thank you very for your post.
I would like to ask you, if this happened once again? Did you activate Wake on LAN on your Mac?
Can you provide us with more information, because at the moment it does not sound like something related to TeamViewer. Thank you!
... View more