Patent ID: 8857355

Claim:
A sewing machine, comprising: a sewing device including a needle bar configured to have a sewing needle, and a transport device configured to move a work cloth; a plurality of detection devices configured to detect ultrasonic waves; a processor; and a memory configured to store computer-readable instructions that instruct the sewing machine to execute steps comprising: specifying, when an ultrasonic wave transmitted from a transmission source of the ultrasonic wave is detected by the detection devices, a position of the transmission source of the ultrasonic waves, based on the detected ultrasonic waves, specifying a sewing position on the work cloth based on the specified position of the transmission source, the sewing position including a restart position where sewing is to be restarted, moving the work cloth by the transport device in accordance with the specified sewing position so that the restart position is coincident with a needle drop point of the sewing needle, and restarting the sewing by the sewing device from the restart position.