Smiles as duchess leaves hospital