crap out

Intermedio alto (B2) informal

To suddenly stop working, or to give up and quit something you said you would do.

"My laptop crapped out right in the middle of the presentation."