Hello guys! Emotion: smile

I'm looking for an idiom that means "to keep going on even if the circumstances are not good". An idiom meaning not to throw in the towel.

I knew one that meant something like "keep going on despite the circumstances" - I think it had the word "mind" in it, but I don't seem to be able to remember it...

Can anyone come up with one?
When you come to the end of your rope, tie a knot and hang on.
There must be quite a few, though I can't think of any with the word "mind". Some examples that come to, erm, mind:

Soldier on

Keep going

Hang (on) in there

Stick at/with/to it

Keep plugging away

Carry on regardless

Keep a stiff upper lip

(There's also "persevere", of course, but this isn't an idiom.)
Site Hint: Check out our list of pronunciation videos.
Thank you for your help, Mr Wordy! Emotion: smile
 Philip's reply was promoted to an answer.
Another couple that occurred to me:

Grit your teeth

Grin and bear it

(not to be attempted at the same time)
Teachers: We supply a list of EFL job vacancies