It is reduced to zero. Thematically, you strapped an extra cannon to your sloop. Both your original and extra cannons were later blown up in your merchant raid.
That said, if you later repair your cannons for two gold per cube movement, you can repair back to two, since the modification is permanent on the ship you modified with it.
Thank you Jim! I guess the cube indicator is the final indicator. That makes sense.