Removing the Speaker of the House

What is a "motion to vacate" and what happens after a House speaker is removed?