Zenzai (i.e., red bean soup) is said to have been served on board the
night before former Japanese warships return to their home ports.
It was meant to soothe the fatigue of the sailors and celebrate that they were able to return safely. The custom is inherited by the current Maritime Self-Defense Force.