Williams' story served as the inspiration for Joseph Conrad's novel Lord Jim. Conrad, who was himself an experienced sailor, had spent time in Singapore in the 1880s and had come across Williams as a result.