Unwrap can as stripes
From your image it looks like you have overlapping loops at the top of your cylinder, you can see that because of the face indicators appearing in the middle of the edges, and thats why you could not select the hidden edge to mark the seam and have a proper unwrap.