I’ll give BRAINIEST.

Based on its use in the sentence, what is the meaning of the word confine?

Medical professionals did everything they could to confine the new virus to only one ward in the hospital.

A. trap

B. allow

C.remove

D. restrict