Idiom
cap offcap (something) off
to complete an experience in a particularly good or bad way.We went to the beach, strolled around town, and capped off our visit with a fireworks display that evening.
Usage notes: sometimes used in the form cap it all off:
There's been bad economic news all year, and to cap it all off, now oil prices are increasing.
Related vocabulary: to top it all off