As per the Scrum Guide, Only the Product Owner has the authority to cancel the Sprint. A Sprint would be cancelled if the Sprint Goal becomes obsolete. This might occur if the company changes direction or if market or technology conditions change.