for it was in marseilles that the nightmare had begun , where the pitched battle with carlos had ended with him being flung overboard , the shock of being shot and almost drowned robbing him of his memory , of his very life .