3V AC supply. Transformer is 1:1. Blue voltage spike showing on Voltmeter shows 30.7V which follows each discharge of the coil.
Right circuit introduces a diode to mitigate spike. When switch closed, spike reduced to mV range. Opening switch results in a very large spike followed by regular smaller ones.
If I understand correctly, certain inventors have been able to utilize this phenomenon usefully to do some kind of work or store, although I'm not sure how to here.
Note: Lower frequencies can be used to produce higher voltages. 100Hz will produce about 48V, for example. Make sure to speed up sim time.