How do I finish a ridge cap?
That's what I've done in similar situations. Cut off the top half of the shingle (using the piece without the glue line) and 2-4 nails right through your last shingle. Cover the nails with a drop of roof cement.