"Hop the sack" is not a standard English idiom. You likely mean:
Meaning: Go to bed, go to sleep.
Origin: Early 1900s; sacks/hay used as mattresses.
Example: "I'm exhausted, I'm gonna hit the sack."
Meaning: Leave quickly, depart, die.
Example: "They hopped it when police arrived."
So "hop the sack" could be a malapropism for "hit the sack" (go to sleep) or a creative blend of "hop it" (leave) + "sack" (bed).
Bottom line: Not recognized in major slang dictionaries. Use "hit the sack" (sleep) or "hop it" (leave).