It took almost a week to dislodge a giant container ship blocking one the world's busiest trade routes.