Crippled cruise ship finally docks after 5 days