Call It Quits

What does the idiom “call it quits” mean?

Definition: stop doing something, stop working on something

Example: We’ve worked on this for five hours now. Let’s call it quits and rest, and try again tomorrow.