Hang Tough

What does the idiom “Hang Tough ” mean?

Definition:

Maintain one’s resolve

For example:

“When I asked my boss for a raise, I told myself I should hang tough. But I agreed to keep working for the same salary.”