b. The Sprint ends with the done items
In a case where the team is unable to complete all the Sprint Backlog items, nothing happens. The Sprint ends on the stipulated date with the completed items. The Development Team demonstrates the completed items in the Sprint Review meeting.
The uncompleted items are moved back to the Product Backlog and are again prioritized from there.