To commit someone is to send a person to prison, asylum, or reformatory by a court order.