those chains of which he spoke , indeed , had been for his own protection , to keep him secured to the deck through a three-days ' typhoon ; but the occasion had come close on the heels of his witnessing the brutal treatment of a party of slaves , at the port of cape coast , and had left an indelible impression .