Entangled and disentangled evolution for a single atom in a driven cavity