That is why other Bible translations render the phrase “her soul was going out” as “her life was ebbing away” (Knox), “she breathed her last” (JB), and “her life went from her” (Bible in Basic English).
All at once she pulled herself together, placed the instrument in her mother's lap -- the mother was still sitting in her chair having trouble breathing for her lungs were