I'm having trouble finding a definition of vice that explains its usage in the following contexts:
The Monarch, no less boldly than her compeer, dashed among the rebel fleet, and singling out the Lovell, under full speed struck her fairly near the wheel, her prow crashing far into the hull, and remaining for a moment fastened as in a vice.
When once you realize all that it cost God to forgive you, you will be held as in a vice, constrained by the love of God.
And more in Google.
The closest meaning I could find is "vise" (British vice), which in the Oxford Dictionaries means:
a metal tool with movable jaws that are used to hold an object firmly in place while work is done on it, typically attached to a workbench.