The red ensign hangs upside-down from the shrouds to indicate the ship's distress.
Maine is also one of only two states with a separate ensign, which is rarely seen (the other is Massachusetts).