What you did would have been fine if you didn't log out like you did, you should finish the raid or at least get to any amount of loot, otherwise you've just blocked someone in without actually robbing them. We understand life happens and you have to leave at times. Just try and make sure you follow through or back out so you're not logging off in someone's base and you're not blocking people into their bases without actually raiding them