To lose ones courage - to chicken out of a situation, in face of (real or imagined) threat or repercussion - to voluntarily fail to complete a challenge, even self imposed challenge or task
"I see Jimmy didn't ask that girl out last night
"Naw, he lost his bottle!"