I found out with a friend the hard way that, if you go to dismantle an item - either to remove the component or get it back - and the host’s game crashes while the item is still in the box for removal, the item and component both are lost. I would imagine this applies to any part of the game where you have to take an item out of your inventory and place it in a box for an action.
My first suggestion would be to change the dismantle/remove component (and similar) actions so that instead of placing an item outside of your inventory, you select a button in the interface then choose and confirm your item while it’s in your inventory still. This way there’s zero time the item risks being lost, and it is consistently present until the action has been processed.