If your banana loaf sinks after it is cooked, you might have added too much baking soda, or not cooked it for long enough. Make sure to be careful with the measurements, and use the toothpick test to ensure that the bread is cooked in the middle.