(When) Push Comes to Shove

What does the expression “push comes to shove” mean?

Definition: when the pressure is on, if the situation becomes difficult

Example: Jon goofs off at work for most of the day, but when push comes to shove you can count on him to work really hard.