What does ‘boogie’ mean?

( v ) To dance wildly to the late 60s style of rock (from the boogie-woogie of the late 30s and 40s). I love this music; let’s boogie.
( v ) To leave. The witching hour is coming up; let’s boogie to it.