In Pirates of the Caribbean: At World's End, Beckett's ship the Endeavour does not fire on the Flying Dutchman or Black Pearl.
Reasons:
Instead, Endeavour captures the Black Pearl after a chase, using superior firepower to overwhelm its crew and take Jack Sparrow prisoner.