No, you can only be attacked while you are offline. You will not be attacked in the first few minutes after you go offline to eliminate the possibility of an attack caused by a simple disconnect.
Can I be attacked while I'm online?
Last Updated: 512d