TAIPEI—Taiwan's police evicted dozens of protesters from the cabinet building early Monday morning, as tensions continued to spiral between the government and students occupying two major government buildings over a controversial trade pact with China.

Shortly after midnight, police made several attempts to remove protesters who stormed the Executive Yuan—the governing cabinet's office—on Sunday evening, hours after President Ma Ying-jeou rejected protesters' demands to retract a services trade agreement signed with China...