Question: signal flag displayed by a vessel about to leave port
Answer: Ensigns are usually required to be flown when entering and leaving harbour , when sailing through foreign waters , and when the ship is signalled to do so by a warship .