We recommend turning the Steam Deck off before removing an SD card. That said, it is safe to remove while the Steam Deck is running, just as long as you don’t have any games running.