Pursued by the 84-gun third-rate ship of the line HMS Canopus 1798 6 , Impérial ran hard aground parallel to the beach on a coral reef 1.0 nautical miles off the coast of Hispaniola between Nizao and Point Catalan, suffering severe hull damage and losing all of her masts.