To quit, or fail.
My old backpack finally bit the dust the other day.
To die.
To get into trouble, to have an accident or mishap, to go off the rails.