Upper shock bolt advice needed

Ok I discovered the bolt in the trunk and then removed the whole thing...was then able to get a clean angle on the nut to remove it....it was metric to boot!