last-ditch
adjective [ before noun ]
uk/ˌlɑːstˈdɪtʃ/ usused to describe an act that is made at the end of a series of failures to solve a problem, and is not expected to succeed:
last-ditch effort/attempt They are now involved in a last-ditch attempt to save the steel plant.