You know, I also saw a lone barbarian worker come sit next to my front-line city when I was at war with the AI. He just sat there idle until I finished off the first wave of attackers and picked him up using one of my injured units that returned to heal. It was amusing so I kept the worker. I sent him to my capital to sleep so he can keep twiddling his fingers there for the next thousand years.