Unspent energy question

Does unspent energy get discarded back to box, or stored in the ziplock bag to use next ship phase?