Does the rapture remove the Holy Spirit from the earth?

No; when believers are taken up, the Holy Spirit remains on the planet.

Watch the Teaching: When Will the Wicked One Be Revealed?