Remove finished laundry when it is practical and safe to do so, then dry it according to the care labels. A long period in a closed damp drum can change the smell and creasing of an otherwise completed wash.
Understanding this situation
A stale result after delayed unloading is different from laundry smelling wrong immediately after a normal programme. The timing helps distinguish storage conditions from a repeated washing problem. Do not leave the appliance running unattended or asleep simply to arrange a convenient finish, and do not prop its door where children or pets could enter.
A useful next step
Plan a cycle that can finish while someone is available, or use delay features only within the manufacturer's and safety guidance. If laundry was forgotten, assess its condition and choose a suitable permitted rewash if needed. Persistent odour despite prompt unloading deserves a review of the programme, detergent and model-specific maintenance routine.
Manuals and supporting guidance
Model-specific instructions take priority. These references support the practical principles discussed here; they do not diagnose your appliance.