String trimmer line replacement is a job you should only do with the string trimmer completely powered down. That means cutting off the engine if it’s a gas string trimmer, removing the battery ...