Correct, you would have to close the channel to get them out. Also, you might not be able to predict which ordinals you would get out of the closing transaction. I kind of like to imagine that your ordinals in a lightning channel are in a quantum superposition which resolves when you close the channel.