I tried to attack a peasant walking by with one of my units stationed in a city. I made a mistake in selection so I only attacked with 1 unit instead of 2 as I meant to so I clicked cancel. When I selected my city again the unit was not there. I tried this again with another unit and the same thing happened.