I had to go afk for half an hour so i just chilled in town and when i got back all my troops were gone. Same thing when i logged off yesterday and started to play today..
This may not be the case, but troops supposedly desert if they go unpaid. So, if one was away for an extended period of time and ran out of money, that could happen. But that’s just a guess.