It is most common for this to occur if the batsman is injured or unwell, in which case they resume their innings later. If the batsman is ill or injured they are considered "retired - not out" and may be able to return to batting if they recover by the end of the innings.