This seems to be an American version of the incident at Smalls Island in 1801, of which there hve been several movies made (most recently, The Lighthouse, 2016).

Extremely disappointed overall, but I was much impressed by Willem Dafoe's embrace of the role.