The phrase "to marinate the shrimp" means to soak the shrimp in a mixture of flavorful ingredients before cooking it.