In the play, Romeo and Juliet, Juliet does this so that she can run away and marry Romeo instead of marrying Paris:

A Juliet drinks a potion the Friar gives her that slows her breathing and heartbeat, causing her to appear dead.
B Juliet devises a plan to fake her own kidnapping.
C Juliet convinces the nurse to hit her, making her appear critically injured.