What does ‘beat it’ mean?

( v ) To leave. When the cops drove up, we had to beat it.