The correct answer is: To die.
To give up the ghost is an idiom that means to die. It is thought to have originated in the 16th century, and it is often used in a religious context. For example, someone might say that a person has given up the ghost when they have died peacefully in their sleep.
The other options are incorrect. Option A, to make false appearance, is not a common meaning of the idiom to give up the ghost. Option B, to terrify others by acting in suspicious manner, is also not a common meaning of the idiom. Option C, to leave useless spirits, is not a common meaning of the idiom.
I hope this helps!