I leave mine in there until they can walk around. Ducklings who go under a heat lamp need to be able to walk away if they are too hot. So they are not safe to come out of the incubator until they can walk/scoot/get somewhere else.
For strong ducklings, that may be a few hours. For weaker ducklings, it can even be overnight.