What does ‘curtains’ mean?

( n ) The end. If we don’t win this game, it’s curtains for the coach.