HONG KONG — Court officers and the police shut down the 306-day-old Occupy Hong Kong protest Tuesday in the street-level plaza under HSBC’s Asia headquarters, spending six hours in a sometimes disorderly confrontation that ended with the removal of the dozen protesters and the seizure of their tents and other possessions.

Representing the last vestiges of what was once a global movement, protesters screamed, shoved and in a few cases threw their bodies at police officers and court bailiffs.

Even as the bailiffs dismantled the last pieces of the encampment late in the afternoon, a protester with a megaphone vowed, ‘‘We’ll die before we leave!’’

The protesters also yelled taunts at the bailiffs, court-appointed officers whose usual job is to oversee the emptying by removal companies of properties whose tenants have not paid their rent.