Clicking on bought upgrade again will sell it. This is intentionally left out for weapons